Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tf.compat.v2.keras.mixed_precision.experimental

View source on GitHub

Mixed precision API.


class LossScaleOptimizer: An optimizer that applies loss scaling.

class Policy: A mixed precision policy for a Keras layer.


global_policy(...): Returns the global Policy.

set_policy(...): Sets the global Policy.