Home
last modified time | relevance | path

Searched refs:_distribute_strategy (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/
Dps_values.py40 self._distribute_strategy = strategy
65 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
69 strategy=self._distribute_strategy,
82 return self._distribute_strategy
88 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
97 return self._distribute_strategy.extended.update(
Dvalues.py452 self._distribute_strategy = strategy
504 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
512 strategy=self._distribute_strategy,
655 return self._distribute_strategy
713 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
939 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
1156 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
1169 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
1182 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
1235 with ds_context.enter_or_assert_strategy(self._distribute_strategy):
[all …]
Ddistribute_utils.py225 variable_strategy = v._distribute_strategy # pylint: disable=protected-access
Dvalues_util.py218 strategy = var._distribute_strategy # pylint: disable=protected-access
Dpacked_distributed_variable.py71 …distribute_strategy=distributed_variables[0]._distribute_strategy, # pylint: disable=protected-ac…
Ddistribute_lib.py2151 …return v._distribute_strategy == self._container_strategy_weakref() # pylint: disable=protected-a…
3423 return v._distribute_strategy is None # pylint: disable=protected-access
Dmirrored_variable_test.py100 …strategy.experimental_local_results(var)[i]._distribute_strategy) # pylint: disable=protected-acc…
Dparameter_server_strategy_test.py872 self.assertIs(strategy, created_step._distribute_strategy)
/external/tensorflow/tensorflow/python/keras/distribute/
Dcheckpointing_test.py89 self.assertEqual(v._distribute_strategy, slot._distribute_strategy)
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py418 self._distribute_strategy = distribute_strategy
505 distribute_strategy=self._distribute_strategy,
910 distribute_strategy=self._distribute_strategy), ()
Dvariables.py2634 def _distribute_strategy(self): member in RefVariable
3039 def _distribute_strategy(self): member in PartitionedVariable
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_utils.py801 self._distribute_strategy = distribution_strategy_context.get_strategy()
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v2.py83 def _distribute_strategy(self): member in TPUShardedVariable
84 return self.variables[0]._distribute_strategy # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py52 self.assertIsNone(v._distribute_strategy)