Home
last modified time | relevance | path

Searched refs:CrossShardOptimizer (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dtpu_gan_estimator_impl.py419 if not isinstance(opt(), tpu_optimizer.CrossShardOptimizer):
420 return lambda: tpu_optimizer.CrossShardOptimizer(opt())
421 elif not isinstance(opt, tpu_optimizer.CrossShardOptimizer):
422 return tpu_optimizer.CrossShardOptimizer(opt)
Dtpu_gan_estimator_test.py101 cls._generator_optimizer = tpu_optimizer.CrossShardOptimizer(
103 cls._discriminator_optimizer = tpu_optimizer.CrossShardOptimizer(
/external/tensorflow/tensorflow/python/tpu/
Dtpu_optimizer.py31 class CrossShardOptimizer(optimizer.Optimizer): class
56 super(CrossShardOptimizer, self).__init__(False, name)
/external/tensorflow/tensorflow/contrib/tpu/
DREADME.md22 optimizer = tpu_optimizer.CrossShardOptimizer(
Dtpu_estimator.md61 optimizer = tpu_optimizer.CrossShardOptimizer(
185 - In `model_fn`, use `tf.contrib.tpu.CrossShardOptimizer` to wrap your
188 optimizer = tpu_optimizer.CrossShardOptimizer(
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dmain_estimator_tpu.py138 optimizer = tf.contrib.tpu.CrossShardOptimizer(optimizer)
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dkeras_support.py383 return tpu_optimizer.CrossShardOptimizer(opt.optimizer)