tensorflow / 2.9.1 / autograph / experimental / do_not_convert.html /

tf.autograph.experimental.do_not_convert

Decorator that suppresses the conversion of a function.

Args
func function to decorate.
Returns
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.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/autograph/experimental/do_not_convert