Module: tf.contrib.autograph
This is the legacy module for AutoGraph, kept for backward compatibility.
New users should instead use tensorflow.python.autograph
.
Classes
class AutoGraphError
: Base class for all AutoGraph exceptions.
class ConversionOptions
: Immutable container for global conversion flags.
class Feature
: This enumeration represents optional conversion options.
class StackTraceMapper
: Remaps generated code to code it originated from.
Functions
convert(...)
: Decorator that compiles a function to use TensorFlow ops.
converted_call(...)
: Compiles a function call inline.
do_not_convert(...)
: Decorator that suppresses the conversion of a function.
set_element_type(...)
: Indicates that the entity is expected hold items of specified type/shape.
stack(...)
: Stacks the input, if it admits the notion of stacking.
to_code(...)
: Similar to to_graph
, but returns Python source code as a string.
to_graph(...)
: Converts a Python entity into a TensorFlow graph.
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/autograph