|View source on GitHub|
Sets entries in
x to zero at random, while scaling the entire tensor.
Compat aliases for migration
See Migration guide for more details.
tf.keras.backend.dropout( x, level, noise_shape=None, seed=None )
| ||fraction of the entries in the tensor that will be set to 0.|
| || shape for randomly generated keep/drop flags, must be broadcastable to the shape of |
| ||random seed to ensure determinism.|
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.