Dropout
class Dropout(rate: Float, seed: Long, name: String) : Layer, NoGradients
Content copied to clipboard
Applies Dropout to the input.
The Dropout layer randomly sets input units to 0 with a frequency of rate
at each step during training time, which helps prevent overfitting.
Inputs not set to 0 are scaled up by 1/(1 - rate) such that the sum over all inputs is unchanged.
NOTE: Export for this layer is not supported yet. NOTE: This layer used for inference purposes only.
Parameters
name
Custom layer name.
Constructors
Functions
Properties
hasActivation
Link copied to clipboard
inboundLayers
Link copied to clipboard
outboundLayers
Link copied to clipboard
outputShape
Link copied to clipboard
parentModel
Link copied to clipboard