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

Function get_session

tensorflow/tensorflow/python/keras/backend.py:461–487  ·  view source on GitHub ↗

Returns the TF session to be used by the backend. If a default TensorFlow session is available, we will return it. Else, we will return the global Keras session assuming it matches the current graph. If no global Keras session exists at this point: we will create a new global session.

(op_input_list=())

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

_get_available_gpusFunction · 0.70
get_valueFunction · 0.70
batch_get_valueFunction · 0.70
set_valueFunction · 0.70
batch_set_valueFunction · 0.70
__call__Method · 0.70

Calls 3

_get_sessionFunction · 0.85
_initialize_variablesFunction · 0.85
as_defaultMethod · 0.45

Tested by

no test coverage detected