Searched refs:global_policy (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/keras/mixed_precision/ |
D | policy_test.py | 151 self.assertEqual(mp_policy.global_policy().name, default_policy) 154 self.assertEqual(mp_policy.global_policy().name, 'mixed_float16') 156 self.assertEqual(mp_policy.global_policy().name, 'mixed_float16') 158 self.assertEqual(mp_policy.global_policy().name, '_infer') 161 self.assertIs(mp_policy.global_policy(), policy) 225 self.assertEqual(mp_policy.global_policy().name, 'mixed_float16') 227 self.assertEqual(mp_policy.global_policy().name, '_infer') 228 self.assertEqual(mp_policy.global_policy().name, 'mixed_float16') 229 self.assertEqual(mp_policy.global_policy().name, default_policy)
|
D | policy.py | 421 def global_policy(): function
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.mixed_precision.pbtxt | 16 name: "global_policy"
|
D | tensorflow.keras.mixed_precision.experimental.pbtxt | 16 name: "global_policy"
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | keras_correctness_test_base.py | 303 if policy.global_policy().compute_dtype in ('float16', 'bfloat16'):
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_test.cc | 397 TFE_ContextDevicePlacementPolicy global_policy, in TensorHandleSilentCopy() argument 404 TFE_ContextOptionsSetDevicePlacementPolicy(opts, global_policy); in TensorHandleSilentCopy() 406 if (thread_policy != global_policy) { in TensorHandleSilentCopy()
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_layer_v1.py | 1756 self._dtype_policy = policy.global_policy()
|
D | base_layer.py | 2354 self._dtype_policy = policy.global_policy()
|