contrib.layers.dropout

tf.contrib.layers.dropout

tf.contrib.layers.dropout

dropout(
    inputs,
    keep_prob=0.5,
    noise_shape=None,
    is_training=True,
    outputs_collections=None,
    scope=None
)

Defined in tensorflow/contrib/layers/python/layers/layers.py.

Returns a dropout op applied to the input.

With probability keep_prob, outputs the input element scaled up by 1 / keep_prob, otherwise outputs 0. The scaling is so that the