Commit 6be20545 authored by Martin Wicke's avatar Martin Wicke Committed by TensorFlower Gardener
Browse files

Add rate to v1 dropout.

This change does change observable behavior in the case where one passes a tf.constant with value 1 to keep_prob. Before, this returned the input (y is x), now it will execute the actual dropout (even though it's pointless) since the input is transformed, and constant_value will not recognize the true value of rate=0 (since it runs before constant folding).

RELNOTES: Dropout now takes `rate` argument, keep_prob is deprecated.
PiperOrigin-RevId: 223609371
parent 3d02e033
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment