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

Function _initialized_session

tensorflow/python/tpu/feature_column_v2_test.py:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def _initialized_session():
35 sess = session.Session()
36 sess.run(variables_lib.global_variables_initializer())
37 sess.run(lookup_ops.tables_initializer())
38 return sess
39
40
41class EmbeddingColumnTestV2(test.TestCase):

Callers 2

Calls 2

runMethod · 0.95
SessionMethod · 0.45

Tested by

no test coverage detected