Commit 5fbb064b authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

This CL adds an init_scope to the Keras set & get learning phase functions....

This CL adds an init_scope to the Keras set & get learning phase functions. This allows the Keras learning phase to work inside functions and defuns.

Note: There might still be bugs in graph mode if the default placeholder is being fed (instead of using set_learning_phase) and a layer is in a function.
PiperOrigin-RevId: 214299002
parent 834ad88d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment