MCPcopy Create free account
hub / github.com/alibaba/nann / set_learning_phase

Function set_learning_phase

tensorflow/tensorflow/python/keras/backend.py:335–352  ·  view source on GitHub ↗

Sets the learning phase to a fixed value. Arguments: value: Learning phase value, either 0 or 1 (integers). Raises: ValueError: if `value` is neither `0` nor `1`.

(value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

learning_phase_scopeFunction · 0.85

Calls 2

get_graphFunction · 0.85
executing_eagerlyMethod · 0.80

Tested by

no test coverage detected