MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / get_graph

Function get_graph

tensorflow/python/keras/backend.py:490–497  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

488
489
490def get_graph():
491 if context.executing_eagerly():
492 global _GRAPH
493 if _GRAPH is None:
494 _GRAPH = func_graph.FuncGraph('keras_graph')
495 return _GRAPH
496 else:
497 return ops.get_default_graph()
498
499
500@tf_contextlib.contextmanager

Callers 15

get_uidFunction · 0.85
clear_sessionFunction · 0.85
symbolic_learning_phaseFunction · 0.85
set_learning_phaseFunction · 0.85
learning_phase_scopeFunction · 0.85
_get_current_tf_deviceFunction · 0.85
track_tf_optimizerFunction · 0.85
track_variableFunction · 0.85
_initialize_variablesFunction · 0.85
placeholderFunction · 0.85
freezable_variableFunction · 0.85
set_valueFunction · 0.85

Calls 1

executing_eagerlyMethod · 0.80

Tested by

no test coverage detected