tf.keras.backend.dropout(
x,
level,
noise_shape=None,
seed=None
)
Defined in tensorflow/python/keras/backend.py
.
Sets entries in x
to zero at random, while scaling the entire tensor.
Arguments:
x
: tensorlevel
: fraction of the entries in the tensor that will be set to 0.noise_shape
: shape for randomly generated keep/drop flags, must be broadcastable to the shape ofx
seed
: random seed to ensure determinism.
Returns:
A tensor.