Newer
Older
#ifndef NEURALNETWORK__H
#define NEURALNETWORK__H
#include <torch/torch.h>
#include "Config.hpp"
#include "Dict.hpp"
class NeuralNetworkImpl : public torch::nn::Module
{
private :
int leftBorder{5};
int rightBorder{5};
Franck Dary
committed
std::vector<std::string> columns{"FORM", "UPOS"};
protected :
void setRightBorder(int rightBorder);
void setLeftBorder(int leftBorder);
void setNbStackElements(int nbStackElements);