diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-09-24 11:21:41 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-24 11:33:50 -0700 |
commit | 5fbb064ba1e78bb28f7adbe92e6583c3b2bdfda7 (patch) | |
tree | f6ebb04cd6587f830aaf7382f29c994fcbf01adb /tensorflow/examples | |
parent | 834ad88d20a9dbdbe7552ecd8c2ec7c26b444ef2 (diff) |
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
Diffstat (limited to 'tensorflow/examples')
0 files changed, 0 insertions, 0 deletions