6 #ifndef DENSELAYERIMP_HPP_INCLUDE
7 #define DENSELAYERIMP_HPP_INCLUDE
Class to store dense layers and perform operations on the layers' 1D and 2D Tensors,...
Definition: DenseLayer.hpp:19
Definition: DenseLayerImp.hpp:17
DenseLayerImp(const TensorTwoD &weights, const TensorOneD &biases)
Constructor ingesting a TensoTwoD and TensorOneD object.
Definition: DenseLayer.cpp:27
size_t get_input_dim() const override
Get the dimension required for the input TensorOneD.
Definition: DenseLayer.cpp:55
TensorOneD forward(const TensorOneD &input) const override
Inference step.
Definition: DenseLayer.cpp:44
size_t get_output_dim() const override
Get the dimension of the resulting TensorOneD.
Definition: DenseLayer.cpp:60
Class to store and perform operations on 1D Tensors, aka vectors, suitable for use in feed-forward ne...
Definition: TensorOneD.hpp:21
Class to manage data and operations related to 2D Tensors required for neural net inference.
Definition: TensorTwoD.hpp:22
Definition: Accumulator.cpp:12