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

Function get_session

tensorflow/python/training/tracking/util.py:67–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66
67def get_session():
68 # Prefer TF's default session since get_session from Keras has side-effects.
69 session = ops.get_default_session()
70 if session is None:
71 session = keras_backend.get_session()
72 return session
73
74
75class _ObjectGraphProtoPrettyPrinter(object):

Callers 10

streaming_restoreFunction · 0.70
run_restore_opsMethod · 0.70
initialize_or_restoreMethod · 0.70
initialize_or_restoreMethod · 0.70
run_restore_opsMethod · 0.70
saveMethod · 0.70
saveMethod · 0.70
saveMethod · 0.70

Calls 1

get_sessionMethod · 0.80