tf.experimental.enable_strict_mode

If called, enables strict mode for all behaviors.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.experimental.enable_strict_mode

Used to switch all deprecation warnings to raise errors instead.