Home
last modified time | relevance | path

Searched refs:tpu_config (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/tpu/
Dtpu_context.py28 from tensorflow.python.tpu import tpu_config
215 use_tpu and config.tpu_config.num_cores_per_replica)
217 num_cores_per_replica = config.tpu_config.num_cores_per_replica
294 str(self._config.tpu_config.num_cores_per_replica))
335 return self._config.tpu_config.input_partition_dims
365 num_cores_per_replica = self._config.tpu_config.num_cores_per_replica
398 (self._config.tpu_config.per_host_input_for_training is
399 tpu_config.InputPipelineConfig.PER_SHARD_V1))
403 return (self._config.tpu_config.per_host_input_for_training is
404 tpu_config.InputPipelineConfig.PER_HOST_V2)
[all …]
Dtpu_config.py192 tpu_config=None, argument
212 self._tpu_config = tpu_config or TPUConfig()
268 def tpu_config(self): member in RunConfig
279 tpu_config = kwargs.pop('tpu_config')
281 new_instance._tpu_config = tpu_config # pylint: disable=protected-access
Dtpu_config_test.py26 from tensorflow.python.tpu import tpu_config as tpu_config_lib
80 tpu_config=tpu_config_lib.TPUConfig(num_shards=0))
85 tpu_config=tpu_config_lib.TPUConfig(iterations_per_loop=0))
171 self.assertIsNone(config.tpu_config.tpu_job_name)
177 self.assertEqual('_my_new_name', config.tpu_config.tpu_job_name)
Dtpu_estimator.py68 from tensorflow.python.tpu import tpu_config
461 ctx.config.tpu_config.initial_infeed_sleep_secs)
1005 if (ctx.config.tpu_config.eval_training_input_configuration is
1006 tpu_config.InputPipelineConfig.SLICED):
1010 if (ctx.config.tpu_config.eval_training_input_configuration is
1011 tpu_config.InputPipelineConfig.SLICED):
1910 if (self._ctx.config.tpu_config.per_host_input_for_training is
1911 tpu_config.InputPipelineConfig.BROADCAST):
2305 if config is None or not isinstance(config, tpu_config.RunConfig):
2320 if (config.tpu_config.per_host_input_for_training is
[all …]
DBUILD63 "tpu_config.py",
/external/tensorflow/tensorflow/contrib/tpu/
DREADME.md14 from tensorflow.contrib.tpu.python.tpu import tpu_config
32 run_config = tpu_config.RunConfig(
D__init__.py77 from tensorflow.contrib.tpu.python.tpu.tpu_config import *
Dtpu_estimator.md102 run_config = tpu_config.RunConfig(
107 tpu_config=tpu_config.TPUConfig(FLAGS.iterations, FLAGS.num_shards),)
DBUILD50 "python/tpu/tpu_config.py",
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dtpu_gan_estimator_test.py31 from tensorflow.contrib.tpu.python.tpu import tpu_config
146 self._config = tpu_config.RunConfig(model_dir=self._model_dir)
250 self._config = tpu_config.RunConfig(model_dir=self._model_dir)
289 config=tpu_config.RunConfig(
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dtpu_config.py22 from tensorflow.python.tpu.tpu_config import *
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dmain_estimator_tpu.py202 tpu_config=tf.contrib.tpu.TPUConfig(