Home
last modified time | relevance | path

Searched refs:global_policy (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dpolicy_test.py42 self.assertEqual(mp_policy.global_policy().name, 'infer')
43 default_policy = mp_policy.global_policy()
46 self.assertEqual(mp_policy.global_policy().name, 'infer_float32_vars')
47 self.assertEqual(mp_policy.global_policy().default_variable_dtype,
50 self.assertEqual(mp_policy.global_policy().name, 'infer_float32_vars')
52 self.assertEqual(mp_policy.global_policy().name, 'infer')
53 self.assertEqual(mp_policy.global_policy().default_variable_dtype, None)
56 self.assertIs(mp_policy.global_policy(), policy)
62 self.assertEqual(mp_policy.global_policy().name, 'infer_float32_vars')
64 self.assertEqual(mp_policy.global_policy().name, 'infer')
[all …]
D__init__.py21 from tensorflow.python.keras.mixed_precision.experimental.policy import global_policy
Dpolicy.py133 def global_policy(): function
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.mixed_precision.experimental.pbtxt12 name: "global_policy"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.mixed_precision.experimental.pbtxt12 name: "global_policy"
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer.py1357 self._mixed_precision_policy = policy.global_policy()