aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/distribute/python/mirrored_strategy.py
diff options
context:
space:
mode:
authorGravatar Jan Horst Hünnemeyer <Jan@Huennemeyer.engineer>2018-07-17 09:53:19 +0200
committerGravatar Jan Horst Hünnemeyer <Jan@Huennemeyer.engineer>2018-07-17 09:53:19 +0200
commite5379bb6c053c1d1af913cd1c8c14663191e58b3 (patch)
tree99554a3a182e229206e0b73f05a63a22061dbced /tensorflow/contrib/distribute/python/mirrored_strategy.py
parenta69b18a2d24247071b6826be4933226f5eff9af9 (diff)
pylint: whitespace changes
Diffstat (limited to 'tensorflow/contrib/distribute/python/mirrored_strategy.py')
-rw-r--r--tensorflow/contrib/distribute/python/mirrored_strategy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/distribute/python/mirrored_strategy.py b/tensorflow/contrib/distribute/python/mirrored_strategy.py
index cdb505d95d..8092d8efe0 100644
--- a/tensorflow/contrib/distribute/python/mirrored_strategy.py
+++ b/tensorflow/contrib/distribute/python/mirrored_strategy.py
@@ -87,7 +87,7 @@ class MirroredStrategy(distribute_lib.DistributionStrategy):
self._devices = [device_util.resolve(d) for d in devices]
self._canonical_device_set = set(self._devices)
self._device_index = values.PerDevice(
- {d: i for i, d in enumerate(devices)})
+ {d: i for i, d in enumerate(devices)})
self._cross_tower_ops = cross_tower_ops
self._prefetch_on_device = prefetch_on_device
# TODO(yuefengz): consider setting the default device.