Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

Module: tf.keras.mixed_precision.experimental

TensorFlow 1 version

Public API for tf.keras.mixed_precision.experimental namespace.


class LossScaleOptimizer: An optimizer that applies loss scaling.

class Policy: A dtype policy for a Keras layer.


get_layer_policy(...): Returns the dtype policy of a layer.

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

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