Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py415 self._in_graph_mode = not context.executing_eagerly()
417 self._in_graph_mode = in_graph_mode
448 if context.executing_eagerly() and not self._in_graph_mode:
569 if not self._in_graph_mode:
904 in_graph_mode=self._in_graph_mode,
1791 self._in_graph_mode = not context.executing_eagerly()
1798 if self._in_graph_mode:
1810 ops.device if self._in_graph_mode else ops.NullContextmanager)
1837 graph_mode=self._in_graph_mode)
1840 if (self._in_graph_mode and initial_value is not None and
[all …]
Dvariable_scope.py2411 self._in_graph_mode = not context.executing_eagerly()
2412 if self._in_graph_mode:
2428 if self._in_graph_mode and not self._building_function:
2442 if (self._in_graph_mode and not self._building_function and
2576 if self._in_graph_mode and not self._building_function:
Dvariables.py1639 self._in_graph_mode = True
1663 if context.executing_eagerly() and not self._in_graph_mode:
/external/tensorflow/tensorflow/python/distribute/
Dtpu_replicated_variable.py136 def _in_graph_mode(self): member in TPUReplicatedVariable
137 return self._vars[0]._in_graph_mode # pylint: disable=protected-access
Dvalues_v2_test.py338 self.assertFalse(v._in_graph_mode)
Dvalues.py714 def _in_graph_mode(self): member in DistributedVariable
715 return self._primary._in_graph_mode # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/training/
Doptimizer.py206 …if resource_variable_ops.is_resource_variable(v) and not v._in_graph_mode: # pylint: disable=prot…
710 and not var._in_graph_mode): # pylint: disable=protected-access
794 not v._in_graph_mode): # pylint: disable=protected-access
888 if variable._in_graph_mode: # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/eager/
Dwrap_function.py167 return ((v._in_graph_mode # pylint: disable=protected-access
185 if new_variable._in_graph_mode: # pylint: disable=protected-access
Ddef_function.py273 self._in_graph_mode = not context.executing_eagerly()
325 if self._in_graph_mode:
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dautocast_variable.py157 if context.executing_eagerly() and not self._in_graph_mode:
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v2.py64 def _in_graph_mode(self): member in TPUEmbeddingVariable
65 return self.variables[0]._in_graph_mode # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/training/saving/
Dsaveable_object_util.py212 if op._in_graph_mode: # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2.py1438 if var._in_graph_mode: