public static final class Dropout.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Dropout |
build()
Builds a
Dropout block. |
Dropout.Builder |
optRate(float rate)
Sets the probability or the fraction of the input that gets dropped out during training
time.
|
public Dropout.Builder optRate(float rate)
rate
- fraction of the input that gets dropped out during training