TensorFlow 2.0 Beta is available Learn more

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

View source on GitHub

Mixed precision API.

Classes

class LossScaleOptimizer: An optimizer that applies loss scaling.

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

Functions

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

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