Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.autograph.experimental.Feature

Class Feature

Aliases:

  • Class tf.autograph.experimental.Feature
  • Class tf.contrib.autograph.Feature

Defined in tensorflow/python/autograph/core/converter.py.

Represents conversion options that can be toggled on or off.

Attributes:

  • ALL: Enable all features.
  • AUTO_CONTROL_DEPS: Insert of control dependencies in the generated code.
  • DECORATORS: Allow decorators in local functions. Note that special decorators, like tf.function, are allowed regardless of this toggle.
  • ERROR_REWRITING: Rewrite errors that occur in the generated code to indicate the source code to which the failing code corresponds.
  • LISTS: Convert list idioms, like initializers, slices, append, etc.
  • NAME_SCOPES: Insert name scopes that name ops according to context, like the function they were defined in.

Class Members

ALL

AUTO_CONTROL_DEPS

DECORATORS

ERROR_REWRITING

LISTS

NAME_SCOPES

__members__