Home
last modified time | relevance | path

Searched refs:_replica_id (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/keras/distribute/
Dkeras_optimizer_v2_test.py65 replica_id = _replica_id()
137 def _replica_id(): function
/external/tensorflow/tensorflow/python/distribute/
Dmirrored_variable_test.py44 def _replica_id(): function
199 replica_id = self.evaluate(_replica_id())
320 return math_ops.cast(_replica_id() + 1, dtype=dtypes.float32)
448 replica_id = self.evaluate(_replica_id())
Dmirrored_strategy_test.py97 replica_id = int(self.evaluate(_replica_id()))
107 result = distribution.extended.call_for_each_replica(_replica_id)
339 replica_id_str = str(self.evaluate(_replica_id()))
1423 def _replica_id(): function
Ddistribute_lib.py255 self._replica_id = replica_id
260 _update_replica_id.current = self._replica_id
3031 def _replica_id(self): member in ReplicaContextBase
Dvalues_util.py292 replica_id = replica_context._replica_id # pylint: disable=protected-access
Dcollective_all_reduce_strategy.py796 replica_context._replica_id, # pylint: disable=protected-access
Dcollective_all_reduce_strategy_test.py563 return replica_ctx.replica_id_in_sync_group, replica_ctx._replica_id
/external/tensorflow/tensorflow/python/tpu/
Dtensor_tracer.py511 self._replica_id = None
596 self._replica_id = tpu_ops.tpu_replicated_input(
600 self._replica_id = 'unknown'
924 '@', self._replica_id,
1450 _flush_fun, cache_val, self._replica_id,
1453 flush_op = _flush_fun(cache_val, self._replica_id,
1920 replica_id=self._replica_id,
2040 self._replica_id = 0
/external/tensorflow/tensorflow/python/framework/
Dops_test.py1881 self._replica_id = replica_id
1900 with g.device("/job:worker/replica:{}".format(self._replica_id)):
1906 name="FloatOutput_{}".format(self._replica_id))
1946 name="FloatOutput_{}".format(self._replica_id))
2011 name="FloatOutput_{}".format(self._replica_id))