tf.keras.mixed_precision.experimental.get_layer_policy

Returns the dtype policy of a layer.

layer A tf.keras.layers.Layer.