Home
last modified time | relevance | path

Searched refs:_default_graph_stack (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dops.py3999 return _default_graph_stack.get_controller(self)
5614 _default_graph_stack = _DefaultGraphStack() variable
5626 if not _default_graph_stack.stack:
5647 …outer_context = _default_graph_stack._GetGlobalDefaultGraph().as_default # pylint: disable=protec…
5942 _default_graph_stack._global_default_graph is not None) # pylint: disable=protected-access
6018 if not _default_graph_stack.is_cleared():
6022 _default_graph_stack.reset()
6041 return _default_graph_stack.get_default()
6046 return len(_default_graph_stack.stack) >= 1
Dops_test.py2833 self.assertEqual(len(ops._default_graph_stack.stack), 0)
2835 self.assertEqual(len(ops._default_graph_stack.stack), 1)
2837 self.assertGreater(len(ops._default_graph_stack.stack), 1)
2839 self.assertEqual(len(ops._default_graph_stack.stack), 1)
2841 self.assertEqual(len(ops._default_graph_stack.stack), 0)
2849 self.assertEqual(len(ops._default_graph_stack.stack), 0)
2851 self.assertGreater(len(ops._default_graph_stack.stack), 0)
2852 self.assertEqual(len(ops._default_graph_stack.stack), 0)
Dtest_util.py2063 ops._default_graph_stack.reset() # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/training/
Dsaver_test.py231 ops_lib._default_graph_stack.reset() # pylint: disable=protected-access
246 ops_lib._default_graph_stack.reset() # pylint: disable=protected-access