TensorFlow 2.0 Beta is available Learn more

tf.keras.mixed_precision.experimental.set_policy

TensorFlow 2.0 version View source on GitHub

Sets the global Policy.

Aliases:

  • tf.compat.v1.keras.mixed_precision.experimental.set_policy
  • tf.compat.v2.keras.mixed_precision.experimental.set_policy
tf.keras.mixed_precision.experimental.set_policy(policy)