Save the date! Google I/O returns May 18-20 Register now

tf.keras.mixed_precision.experimental.get_layer_policy

View source on GitHub

Returns the dtype policy of a layer.

layer A tf.keras.layers.Layer.

The tf.keras.mixed_precision.experimental.Policy of the layer.