#include <multilayerffnn.h>
Inherits Storeable.
Inheritance diagram for Layer:


Public Member Functions | |
| Layer (int size, double factor_bias=0.1, ActivationFunction actfun=FeedForwardNN::linear, ActivationFunction dactfun=FeedForwardNN::dlinear) | |
| bool | store (FILE *f) const |
| stores the layer binary into file stream | |
| bool | restore (FILE *f) |
| restores the layer binary from file stream | |
Public Attributes | |
| int | size |
| double | factor_bias |
| ActivationFunction | actfun |
| callback activation function | |
| ActivationFunction | dactfun |
| first derivative of the activation function | |
Friends | |
| std::ostream & | operator<< (std::ostream &, const Layer &) |
|
||||||||||||||||||||
|
|
|
|
restores the layer binary from file stream
Implements Storeable.
|
|
|
stores the layer binary into file stream
Implements Storeable.
|
|
||||||||||||
|
|
|
|
callback activation function
|
|
|
first derivative of the activation function
|
|
|
|
|
|
|
1.3.8