Home
last modified time | relevance | path

Searched refs:has_strategy (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Ddistribute_lib_test.py68 t.assertFalse(ds_context.has_strategy())
82 self.assertTrue(ds_context.has_strategy())
103 self.assertTrue(ds_context.has_strategy())
140 self.assertFalse(ds_context.has_strategy())
Ddistribution_strategy_context.py195 def has_strategy(): function
242 has_distribution_strategy = has_strategy
Ddistribute_lib.py115 if not distribution_strategy_context.has_strategy():
864 if distribution_strategy_context.has_strategy():
1554 if distribution_strategy_context.has_strategy():
1689 if distribution_strategy_context.has_strategy():
Dvalues.py414 if not distribution_strategy_context.has_strategy():
427 if not distribution_strategy_context.has_strategy():
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.distribute.pbtxt72 name: "has_strategy"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.distribute.pbtxt76 name: "has_strategy"
/external/tensorflow/tensorflow/python/training/
Doptimizer.py541 if distribute_ctx.has_strategy():
/external/tensorflow/tensorflow/python/keras/
Doptimizers.py735 if distribution_strategy_context.has_strategy():
Dbackend.py416 if distribution_strategy_context.has_strategy():
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining.py237 if distribution_strategy_context.has_strategy():