DroputLayer class. More...
#include <SimdNeural.hpp>
Inheritance diagram for DropoutLayer:
Public Member Functions | |
DropoutLayer (size_t srcSize, float rate) | |
Creates new DropoutLayer class. More... | |
Public Member Functions inherited from Layer | |
virtual | ~Layer () |
Additional Inherited Members | |
Public Types inherited from Layer | |
enum | Type { Input , Convolutional , MaxPooling , AveragePooling , FullyConnected , Dropout } |
enum | Method { Fast , Check , Train } |
Detailed Description
DroputLayer class.
Dropout layer in neural network.
Constructor & Destructor Documentation
◆ DropoutLayer()
DropoutLayer | ( | size_t | srcSize, |
float | rate | ||
) |
Creates new DropoutLayer class.
- Parameters
-
[in] srcSize - a size of input vector. [in] rate - a retention probability (dropout rate is 1 - rate).