Module: tf.keras.mixed_precision.experimental

TensorFlow 1 version

Mixed precision API.

Classes

class LossScaleOptimizer: An optimizer that applies loss scaling.

class Policy: A dtype policy for a Keras layer.

Functions

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

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