Type tf.autograph.experimental
Namespace tensorflow
Methods
- do_not_convert
- do_not_convert
- do_not_convert
- do_not_convert_dyn
- set_loop_options
- set_loop_options
- set_loop_options
- set_loop_options
- set_loop_options_dyn
Properties
Public static methods
object do_not_convert(IEnumerable<IGraphNodeBase> func)
Decorator that suppresses the conversion of a function.
Parameters
-
IEnumerable<IGraphNodeBase>
func - function to decorate.
Returns
-
object
- 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.
object do_not_convert(PythonFunctionContainer func)
object do_not_convert(object func)
Decorator that suppresses the conversion of a function.
Parameters
-
object
func - function to decorate.
Returns
-
object
- 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.
object do_not_convert_dyn(object func)
Decorator that suppresses the conversion of a function.
Parameters
-
object
func - function to decorate.
Returns
-
object
- 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.