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

Method push

tensorflow/tensorflow/python/eager/context.py:214–232  ·  view source on GitHub ↗

Push metadata about a context switch onto the stack. A context switch can take any one of the two forms: installing a graph as the default graph, or entering the eager context. For each context switch, we record whether or not the entered context is building a function. Args:

(self, is_building_function, enter_context_fn, device_stack)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

__init__Method · 0.95
get_controllerMethod · 0.45
_modeMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected