Home
last modified time | relevance | path

Searched refs:get_replica_context (Results 1 – 25 of 43) sorted by relevance

12

/external/tensorflow/tensorflow/python/distribute/
Dstrategy_gather_test.py276 ctx = ds_context.get_replica_context()
348 ctx = ds_context.get_replica_context()
375 ctx = ds_context.get_replica_context()
403 ctx = ds_context.get_replica_context()
442 ctx = ds_context.get_replica_context()
461 ctx = ds_context.get_replica_context()
497 ctx = ds_context.get_replica_context()
520 ctx = ds_context.get_replica_context()
549 ctx = ds_context.get_replica_context()
587 ctx = ds_context.get_replica_context()
[all …]
Dmirrored_variable_test.py46 replica_id = ds_context.get_replica_context().replica_id_in_sync_group
107 ds_context.get_replica_context().merge_call(lambda _: _)
127 ds_context.get_replica_context().merge_call(lambda _: _)
144 ds_context.get_replica_context().merge_call(lambda _: _)
155 ds_context.get_replica_context().merge_call(lambda _: _)
168 ds_context.get_replica_context().merge_call(lambda _: _)
184 ds_context.get_replica_context().merge_call(lambda _: _)
202 ds_context.get_replica_context().merge_call(lambda _: _)
218 ds_context.get_replica_context().merge_call(lambda _: _)
257 ds_context.get_replica_context().merge_call(lambda _: _)
[all …]
Dstrategy_common_test.py54 return ds_context.get_replica_context().replica_id_in_sync_group
79 y = ds_context.get_replica_context().merge_call(merge_fn)
179 ds_context.get_replica_context().replica_id_in_sync_group)
192 ds_context.get_replica_context().replica_id_in_sync_group)
285 replica_context = ds_context.get_replica_context()
426 replica_context = ds_context.get_replica_context()
475 rep_ctx = ds_context.get_replica_context()
496 rep_ctx = ds_context.get_replica_context()
529 rep_ctx = ds_context.get_replica_context()
572 rep_ctx = ds_context.get_replica_context()
Dmirrored_strategy_test.py373 ds_context.get_replica_context().merge_call(lambda _: _)
424 return ds_context.get_replica_context().replica_id_in_sync_group
438 return ds_context.get_replica_context().replica_id_in_sync_group
461 return ds_context.get_replica_context().merge_call(merge_fn, args=(i,))
480 return ds_context.get_replica_context().merge_call(merge_fn, args=(t,))
495 ds_context.get_replica_context().merge_call(merge_fn)
538 ds_context.get_replica_context().merge_call(lambda _: _)
556 ds_context.get_replica_context().merge_call(lambda _: _)
582 c = ds_context.get_replica_context().merge_call(in_cross_replica)
611 c = ds_context.get_replica_context().merge_call(in_cross_replica)
[all …]
Ddistribute_lib_test.py125 ds_context.get_replica_context())
158 replica_context = ds_context.get_replica_context()
180 self.assertIs(None, ds_context.get_replica_context())
260 self.assertIs(None, ds_context.get_replica_context())
464 self.assertIs(None, ds_context.get_replica_context())
471 replica_ctx = ds_context.get_replica_context()
485 replica_ctx = ds_context.get_replica_context()
Dstrategy_test_lib.py80 ds_context.get_replica_context().merge_call(_raise_exception_fn)
94 ds_context.get_replica_context().merge_call(_call_raises_fn)
109 ds_context.get_replica_context().merge_call(_call_merge_raises_fn)
275 replica_id = ds_context.get_replica_context().replica_id_in_sync_group
309 ds_context.get_replica_context().replica_id_in_sync_group)
631 lambda: ds_context.get_replica_context().replica_id_in_sync_group + 1,
819 ctx = ds_context.get_replica_context()
824 ctx = ds_context.get_replica_context()
Dsummary_op_util.py36 replica_context = distribution_strategy_context.get_replica_context()
Dmerge_call_interim.py53 return distribution_strategy_context.get_replica_context().merge_call(
Dvars_test.py354 ctx = ds_context.get_replica_context()
490 ctx = ds_context.get_replica_context()
515 ctx = ds_context.get_replica_context()
536 ctx = ds_context.get_replica_context()
557 ctx = ds_context.get_replica_context()
981 ctx = ds_context.get_replica_context()
1013 ctx = ds_context.get_replica_context()
1046 ctx = ds_context.get_replica_context()
1107 ctx = ds_context.get_replica_context()
1149 replica_ctx = ds_context.get_replica_context()
Dtemplate_mirrored_strategy_test.py39 ds_context.get_replica_context().merge_call(lambda _: ())
Dvalues_util.py286 replica_context = ds_context.get_replica_context()
312 replica_context = ds_context.get_replica_context()
Ddistribution_strategy_context.py145 def get_replica_context(): function
Dtpu_strategy_model_parallelism_test.py99 replica_ctx = distribution_strategy_context.get_replica_context()
136 replica_ctx = distribution_strategy_context.get_replica_context()
Dvalues.py65 return ds_context.get_replica_context()._update( # pylint: disable=protected-access
95 return ds_context.get_replica_context().merge_call(
115 return ds_context.get_replica_context().merge_call(merge_fn, args=(value,))
402 replica_context = ds_context.get_replica_context()
1374 replica_context = ds_context.get_replica_context()
Dmirrored_strategy.py800 replica_context = distribution_strategy_context.get_replica_context()
814 replica_context = distribution_strategy_context.get_replica_context()
Ddistribute_lib.py2490 replica_context = distribution_strategy_context.get_replica_context()
2506 replica_context = distribution_strategy_context.get_replica_context()
2626 replica_context = distribution_strategy_context.get_replica_context()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.pbtxt76 name: "get_replica_context"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.pbtxt104 name: "get_replica_context"
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dutils.py42 reduced = distribute_ctx.get_replica_context().merge_call(
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale_optimizer.py181 replica_context = distribution_strategy_context.get_replica_context()
Dloss_scale_test.py112 distribution_strategy_context.get_replica_context()
/external/tensorflow/tensorflow/python/distribute/integration_test/
Dmwms_peer_failure_test.py204 ctx = tf.distribute.get_replica_context()
/external/tensorflow/tensorflow/python/training/
Dcheckpoint_utils.py350 distribution_strategy_context.get_replica_context().merge_call(
Dmoving_averages.py99 replica_context = distribution_strategy_context.get_replica_context()
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_distributed_v1.py327 (distribution_strategy_context.get_replica_context().merge_call(
474 (distribution_strategy_context.get_replica_context().merge_call(

12