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

Function _initialized_session

tensorflow/python/tpu/feature_column_test.py:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36
37def _initialized_session():
38 sess = session.Session()
39 sess.run(variables_lib.global_variables_initializer())
40 sess.run(lookup_ops.tables_initializer())
41 return sess
42
43
44class EmbeddingColumnTest(test.TestCase):

Callers 2

test_get_dense_tensorMethod · 0.70
test_get_dense_tensorMethod · 0.70

Calls 2

runMethod · 0.95
SessionMethod · 0.45

Tested by

no test coverage detected