Home
last modified time | relevance | path

Searched refs:_in_graph_mode (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py404 self._in_graph_mode = not context.executing_eagerly()
433 if not self._in_graph_mode:
441 if context.executing_eagerly() and not self._in_graph_mode:
553 if not self._in_graph_mode:
861 in_graph_mode=self._in_graph_mode,
862 deleter=self._handle_deleter if not self._in_graph_mode else None,
1689 self._in_graph_mode = not context.executing_eagerly()
1696 if self._in_graph_mode:
1708 ops.device if self._in_graph_mode else ops.NullContextmanager)
1736 graph_mode=self._in_graph_mode)
[all …]
Dvariable_scope.py2314 self._in_graph_mode = not context.executing_eagerly()
2315 if self._in_graph_mode:
2331 if self._in_graph_mode and not self._building_function:
2345 if (self._in_graph_mode and not self._building_function and
2480 if self._in_graph_mode and not self._building_function:
Dvariables.py1647 self._in_graph_mode = True
1671 if context.executing_eagerly() and not self._in_graph_mode:
/external/tensorflow/tensorflow/python/training/
Doptimizer.py212 …if resource_variable_ops.is_resource_variable(v) and not v._in_graph_mode: # pylint: disable=prot…
617 and not var._in_graph_mode): # pylint: disable=protected-access
701 not v._in_graph_mode): # pylint: disable=protected-access
795 if variable._in_graph_mode: # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/eager/
Dwrap_function.py170 return ((v._in_graph_mode # pylint: disable=protected-access
188 if new_variable._in_graph_mode: # pylint: disable=protected-access
Ddef_function.py228 self._in_graph_mode = not context.executing_eagerly()
278 if self._in_graph_mode:
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py623 self.assertTrue(a._in_graph_mode)
624 self.assertTrue(b._in_graph_mode)
930 self.assertFalse(a._in_graph_mode)
931 self.assertFalse(b._in_graph_mode)
Doptimizer_v2.py1434 if var._in_graph_mode:
/external/tensorflow/tensorflow/python/training/saving/
Dsaveable_object_util.py204 if op._in_graph_mode: # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dautocast_variable.py162 if context.executing_eagerly() and not self._in_graph_mode:
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v2.py75 def _in_graph_mode(self): member in TPUShardedVariable
76 return self.variables[0]._in_graph_mode # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/distribute/
Dvalues.py676 def _in_graph_mode(self): member in DistributedVariable
677 return self._primary._in_graph_mode # pylint: disable=protected-access