|
| Network () |
| Creates a new object of Network class. More...
|
|
void | Clear () |
| Clears all layers of the neural network.
|
|
bool | Add (Layer *layer) |
| Adds new Layer to the neural network. More...
|
|
const Index & | InputIndex () const |
| Gets dimensions of input data. More...
|
|
const Index & | OutputIndex () const |
| Gets dimensions of output data. More...
|
|
template<class Logger > |
bool | Train (const Vectors &src, const Labels &dst, const TrainOptions &options, Logger logger) |
| Trains the neural network. More...
|
|
template<class Logger > |
bool | Train (const Vectors &src, const Vectors &dst, const TrainOptions &options, Logger logger) |
| Trains the neural network. More...
|
|
SIMD_INLINE const Vector & | Predict (const Vector &x, Layer::Method method=Layer::Fast) |
| Classifies given sample. More...
|
|
bool | Load (std::ifstream &ifs, bool train=false) |
| Loads the neural network from file stream. More...
|
|
bool | Load (const std::string &path, bool train=false) |
| Loads the neural network from file. More...
|
|
bool | Save (std::ofstream &ofs, bool train=false) const |
| Saves the neural network to file stream. More...
|
|
bool | Save (const std::string &path, bool train=false) const |
| Saves the neural network to file. More...
|
|
void | Convert (const Labels &src, Vectors &dst) const |
| Converts format of classification results. More...
|
|
Network class.
Class Network provides functionality for construction, loading, saving, prediction and training of convolutional neural network.