Class to generate objects related to feed-forward neural nets, i.e. TensorOneD, TensorTwoD, DenseLayer, and LocalNeuralNet objects.
More...
#include <NNFactory.hpp>
|
static std::unique_ptr< NNFactory > | make_unique () |
| Returns a unique pointer to a concrete object constructed using the underlying implementation. More...
|
|
static std::shared_ptr< NNFactory > | make_shared () |
| Returns a shared pointer to a concrete object constructed using the underlying implementation. More...
|
|
Class to generate objects related to feed-forward neural nets, i.e. TensorOneD, TensorTwoD, DenseLayer, and LocalNeuralNet objects.
◆ ~NNFactory()
virtual geopm::NNFactory::~NNFactory |
( |
| ) |
|
|
virtualdefault |
◆ createDenseLayer()
◆ createLocalNeuralNet()
virtual std::shared_ptr<LocalNeuralNet> geopm::NNFactory::createLocalNeuralNet |
( |
const std::vector< std::shared_ptr< DenseLayer > > & |
layers | ) |
const |
|
pure virtual |
◆ createTensorOneD()
virtual TensorOneD geopm::NNFactory::createTensorOneD |
( |
const std::vector< double > & |
vals | ) |
const |
|
pure virtual |
◆ createTensorTwoD()
virtual TensorTwoD geopm::NNFactory::createTensorTwoD |
( |
const std::vector< std::vector< double > > & |
vals | ) |
const |
|
pure virtual |
◆ make_shared()
std::shared_ptr< NNFactory > geopm::NNFactory::make_shared |
( |
| ) |
|
|
static |
Returns a shared pointer to a concrete object constructed using the underlying implementation.
◆ make_unique()
std::unique_ptr< NNFactory > geopm::NNFactory::make_unique |
( |
void |
| ) |
|
|
static |
Returns a unique pointer to a concrete object constructed using the underlying implementation.
The documentation for this class was generated from the following files: