6#ifndef LOCALNEURALNETIMP_HPP_INCLUDE
7#define LOCALNEURALNETIMP_HPP_INCLUDE
42 std::vector<std::shared_ptr<DenseLayer> > m_layers;
Class to manage data and operations of feed forward neural nets required for neural net inference.
Definition LocalNeuralNet.hpp:20
size_t get_input_dim() const override
Get the dimension required for the input TensorOneD.
Definition LocalNeuralNet.cpp:63
LocalNeuralNetImp(const std::vector< std::shared_ptr< DenseLayer > > layers)
Constructor input from a vector of DenseLayers.
Definition LocalNeuralNet.cpp:22
size_t get_output_dim() const override
Get the dimension of the resulting TensorOneD.
Definition LocalNeuralNet.cpp:67
TensorOneD forward(const TensorOneD &inp) const override
Perform inference using the instance weights and biases.
Definition LocalNeuralNet.cpp:41
Class to store and perform operations on 1D Tensors, aka vectors, suitable for use in feed-forward ne...
Definition TensorOneD.hpp:21
Definition Accumulator.cpp:12