#ifndef CONCATWORDSNETWORK__H #define CONCATWORDSNETWORK__H #include "NeuralNetwork.hpp" class ConcatWordsNetworkImpl : public NeuralNetworkImpl { private : torch::nn::Embedding wordEmbeddings{nullptr}; torch::nn::Linear linear1{nullptr}; torch::nn::Linear linear2{nullptr}; public : ConcatWordsNetworkImpl(int nbOutputs, int leftBorder, int rightBorder, int nbStackElements); torch::Tensor forward(torch::Tensor input) override; }; #endif