Home
last modified time | relevance | path

Searched refs:distribute_lib (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/python/distribute/
Done_device_strategy.py22 from tensorflow.python.distribute import distribute_lib
39 class OneDeviceStrategy(distribute_lib.DistributionStrategy):
49 class OneDeviceExtended(distribute_lib.DistributionStrategyExtended):
85 replication_mode=distribute_lib.InputReplicationMode.PER_WORKER):
87 input_fn, self._input_workers, [distribute_lib.InputContext()])
157 with ops.device(self._device), distribute_lib.UpdateContext(self._device):
209 class _OneDeviceReplicaContext(distribute_lib.ReplicaContext):
214 distribute_lib.ReplicaContext.__init__(
Ddistribute_lib_test.py21 from tensorflow.python.distribute import distribute_lib
29 class _TestReplicaContext(distribute_lib.ReplicaContext):
43 class _TestStrategy(distribute_lib.DistributionStrategy):
49 class _TestExtended(distribute_lib.DistributionStrategyExtended):
152 input_context = distribute_lib.InputContext(
159 input_context = distribute_lib.InputContext(
DBUILD116 ":distribute_lib",
124 name = "distribute_lib",
126 "distribute_lib.py",
156 ":distribute_lib",
223 ":distribute_lib",
276 ":distribute_lib",
358 ":distribute_lib",
476 ":distribute_lib",
487 ":distribute_lib",
Ddistribution_strategy_context.py28 distribute_lib = LazyLoader( variable
223 …_defaults["strategy"] = distribute_lib._DefaultDistributionStrategy() # pylint: disable=protected…
229 _defaults["replica_context"] = distribute_lib.ReplicaContext(
Dtpu_strategy.py26 from tensorflow.python.distribute import distribute_lib
125 class TPUStrategy(distribute_lib.DistributionStrategy):
192 class TPUExtended(distribute_lib.DistributionStrategyExtended):
265 replication_mode=distribute_lib.InputReplicationMode.PER_WORKER):
269 input_contexts.append(distribute_lib.InputContext(
492 with ops.device(d), distribute_lib.UpdateContext(d), ops.name_scope(name):
586 with ops.device(self._host_device), distribute_lib.UpdateContext(
624 class _TPUReplicaContext(distribute_lib.ReplicaContext):
632 distribute_lib.ReplicaContext.__init__(
637 distribute_lib.require_replica_context(self)
Dparameter_server_strategy.py26 from tensorflow.python.distribute import distribute_lib
51 class ParameterServerStrategy(distribute_lib.DistributionStrategy):
96 distribute_lib.DistributionStrategyExtended):
262 replication_mode=distribute_lib.InputReplicationMode.PER_WORKER):
272 input_context = distribute_lib.InputContext(
423 with ops.colocate_with(var), distribute_lib.UpdateContext(var.device):
434 colocate_with.device), distribute_lib.UpdateContext(colocate_with):
Dcollective_all_reduce_strategy.py29 from tensorflow.python.distribute import distribute_lib
49 class CollectiveAllReduceStrategy(distribute_lib.DistributionStrategy):
90 distribute_lib.DistributionStrategyExtended.__init__(
338 replication_mode=distribute_lib.InputReplicationMode.PER_WORKER):
345 input_context = distribute_lib.InputContext(
Dmirrored_strategy.py28 from tensorflow.python.distribute import distribute_lib
422 class MirroredStrategy(distribute_lib.DistributionStrategy):
442 class MirroredExtended(distribute_lib.DistributionStrategyExtended):
576 replication_mode=distribute_lib.InputReplicationMode.PER_WORKER):
580 input_contexts.append(distribute_lib.InputContext(
719 with ops.device(d), distribute_lib.UpdateContext(d), ops.name_scope(name):
732 with ops.device(d), distribute_lib.UpdateContext(d), ops.name_scope(name):
908 class MirroredReplicaContext(distribute_lib.ReplicaContext):
961 distribute_lib.require_replica_context(self)
D__init__.py24 from tensorflow.python.distribute import distribute_lib
Dvalues.py27 from tensorflow.python.distribute import distribute_lib
252 device = distribute_lib.get_update_device()
503 device = distribute_lib.get_update_device()
667 update_device = distribute_lib.get_update_device()
805 device = distribute_lib.get_update_device()
915 device = distribute_lib.get_update_device()
941 update_device = distribute_lib.get_update_device()
1481 update_device = distribute_lib.get_update_device()
/external/tensorflow/tensorflow/contrib/distribute/python/
Dcollective_all_reduce_strategy.py23 from tensorflow.python.distribute import distribute_lib
29 class CollectiveAllReduceStrategy(distribute_lib.DistributionStrategy):
Dparameter_server_strategy.py21 from tensorflow.python.distribute import distribute_lib
34 class ParameterServerStrategy(distribute_lib.DistributionStrategy):
Dmirrored_strategy.py21 from tensorflow.python.distribute import distribute_lib
35 class MirroredStrategy(distribute_lib.DistributionStrategy):
Dinput_lib_test.py26 from tensorflow.python.distribute import distribute_lib
47 distribute_lib.InputContext(
56 dataset_fn(distribute_lib.InputContext()), input_workers,
DBUILD76 "//tensorflow/python/distribute:distribute_lib",
87 "//tensorflow/python/distribute:distribute_lib",
151 "//tensorflow/python/distribute:distribute_lib",
175 "//tensorflow/python/distribute:distribute_lib",
199 "//tensorflow/python/distribute:distribute_lib",
231 "//tensorflow/python/distribute:distribute_lib",
/external/tensorflow/tensorflow/python/training/
Ddistribute.py22 from tensorflow.python.distribute.distribute_lib import *
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.-input-context.pbtxt3 is_instance: "<class \'tensorflow.python.distribute.distribute_lib.InputContext\'>"
Dtensorflow.distribute.-replica-context.pbtxt3 is_instance: "<class \'tensorflow.python.distribute.distribute_lib.ReplicaContext\'>"
Dtensorflow.distribute.-strategy.pbtxt3 is_instance: "<class \'tensorflow.python.distribute.distribute_lib.DistributionStrategy\'>"
Dtensorflow.distribute.experimental.-t-p-u-strategy.pbtxt4 is_instance: "<class \'tensorflow.python.distribute.distribute_lib.DistributionStrategy\'>"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.-input-context.pbtxt3 is_instance: "<class \'tensorflow.python.distribute.distribute_lib.InputContext\'>"
Dtensorflow.distribute.-replica-context.pbtxt3 is_instance: "<class \'tensorflow.python.distribute.distribute_lib.ReplicaContext\'>"
Dtensorflow.distribute.-strategy.pbtxt3 is_instance: "<class \'tensorflow.python.distribute.distribute_lib.DistributionStrategy\'>"
/external/tensorflow/tensorflow/python/ops/losses/
DBUILD32 "//tensorflow/python/distribute:distribute_lib",
/external/tensorflow/tensorflow/contrib/distribute/
D__init__.py38 from tensorflow.python.distribute.distribute_lib import *

12