tf.autograph.experimental.do_not_convert

Decorator that suppresses the conversion of a function.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.autograph.experimental.do_not_convert

func function to decorate.

If func is not None, returns a Callable which is equivalent to func, but is not converted by AutoGraph. If func is None, returns a decorator that, when invoked with a single func argument, returns a Callable equivalent to the above case.