TensorFlow 2.0 Beta is available Learn more

tf.autograph.experimental.Feature

TensorFlow 2.0 version View source on GitHub

Class Feature

Represents conversion options that can be toggled on or off.

Aliases:

  • Class tf.compat.v1.autograph.experimental.Feature
  • Class tf.compat.v2.autograph.experimental.Feature
  • Class tf.contrib.autograph.Feature

Attributes:

  • ALL: Enable all features.
  • AUTO_CONTROL_DEPS: Insert of control dependencies in the generated code.
  • ASSERT_STATEMENTS: Convert Tensor-dependent assert statements to tf.Assert.
  • BUILTIN_FUNCTIONS: Convert builtin functions applied to Tensors to their TF counterparts.
  • LISTS: Convert list idioms, like initializers, slices, append, etc.
  • LOGICAL_EXPRESSIONS: Convert data-dependent logical expressions applied to Tensors to their TF counterparts.
  • NAME_SCOPES: Insert name scopes that name ops according to context, like the function they were defined in.

Class Members

  • ALL
  • ASSERT_STATEMENTS
  • AUTO_CONTROL_DEPS
  • BUILTIN_FUNCTIONS
  • LISTS
  • LOGICAL_EXPRESSIONS
  • NAME_SCOPES