- namespace: Rindow\NeuralNetworks\Layer
- classname: Dropout
Dropout layer.
Applies Dropout to the input.
Methods
constructor
$builer->Dropout(
float $rate,
string $name=null,
)
You can create a Dropout layer instances with the Layer Builder.
Arguments
- rate: Fraction of the input units to drop.
- Float between 0 and 1.
Examples
$model->add($nn->layers()->Dropout(0.15));