Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/keras/distribute/
Ddistributed_training_utils.py56 is_tpu = backend.is_tpu_strategy(strategy)
Dkeras_dnn_correctness_test.py280 elif K.is_tpu_strategy(distribution) and not context.executing_eagerly():
296 if ((context.executing_eagerly() and not K.is_tpu_strategy(distribution)) or
299 elif K.is_tpu_strategy(distribution):
Ddistributed_training_utils_v1.py156 if (K.is_tpu_strategy(strategy) and
204 if (K.is_tpu_strategy(distribution_strategy) and
499 not K.is_tpu_strategy(distribution_strategy))
504 K.is_tpu_strategy(distribution_strategy)))
626 if K.is_tpu_strategy(strategy):
672 if (K.is_tpu_strategy(model._distribution_strategy) and
Dsaved_model_test_base.py68 if backend.is_tpu_strategy(save_distribution) or backend.is_tpu_strategy(
Ddistribute_strategy_test.py172 if backend.is_tpu_strategy(distribution):
513 if backend.is_tpu_strategy(distribution):
566 if backend.is_tpu_strategy(distribution):
1010 if backend.is_tpu_strategy(distribution):
1093 if mode == 'graph' and backend.is_tpu_strategy(distribution):
1126 if mode == 'eager' and backend.is_tpu_strategy(distribution):
1129 if mode == 'graph' and backend.is_tpu_strategy(distribution):
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_distributed_v1.py653 if K.is_tpu_strategy(model._distribution_strategy):
710 if K.is_tpu_strategy(model._distribution_strategy):
747 if K.is_tpu_strategy(model._distribution_strategy):
Dtraining_v1.py230 if K.is_tpu_strategy(self._distribution_strategy):
2139 K.is_tpu_strategy(self._distribution_strategy)):
2193 if K.is_tpu_strategy(strategy) and not drop_remainder:
Dtraining.py2250 if backend.is_tpu_strategy(self._distribution_strategy):
2776 return (backend.is_tpu_strategy(strategy) and
/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py80 if (backend.is_tpu_strategy(strategy) and
/external/tensorflow/tensorflow/python/tpu/
Dtpu.py214 def is_tpu_strategy(strategy: Any) -> bool: function
225 if not is_tpu_strategy(strategy):
/external/tensorflow/tensorflow/python/keras/
Dbackend.py6517 if is_tpu_strategy(distribution_strategy):
6549 def is_tpu_strategy(strategy): function
Dmetrics.py302 if K.is_tpu_strategy(strategy):