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
Loading
Please sign in to comment