Modules

Structs

  • An asset file def for a single file or a set of sharded files with the same name.
  • Protocol buffer representing the value for an attr used to configure an Op. Comment indicates the corresponding attr type. Only the field matching the attr type may be filled.
  • CollectionDef should cover most collections. To add a user-defined collection, do one of the following:
  • Represents a Python dict keyed by str. The comment on Unicode from Value.string_value applies analogously.
  • A function can be instantiated when the runtime can bind every attr with a value. When a GraphDef has a call to a function, it must have binding for every attr defined in the signature.
  • A library is a set of named functions.
  • Represents FunctionSpec used in Function. This represents a function that has been wrapped as a TensorFlow Function.
  • GradientDef defines the gradient function of a function defined in a function library.
  • Represents the graph of operations
  • Represents a Python list.
  • NOTE: This protocol buffer is evolving, and will go through revisions in the coming months.
  • A list of attr names and their values. The whole list is attached with a string name. E.g., MatMul[T=float].
  • Represents Python’s namedtuple.
  • Represents None.
  • Defines an operation. A NodeDef in a GraphDef specifies an Op by using the “op” field which should match the name of a OpDef. LINT.IfChange
  • Information about version-dependent deprecation of an op
  • A collection of OpDefs
  • Represents a (key, value) pair.
  • Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.
  • A SavedAsset points to an asset in the MetaGraph.
  • Stores low-level information about a concrete function. Referenced in either a SavedFunction or a SavedBareConcreteFunction.
  • A function with multiple signatures, possibly with non-Tensor arguments.
  • SavedModel is the high level serialization format for TensorFlow Models. See [todo: doc links, similar to session_bundle] for more information.
  • A SavedResource represents a TF object that holds state during its lifetime. An object of this type can have a reference to a: create_resource() and an initialize() function.
  • A SavedUserObject is an object (in the object-oriented language of the TensorFlow program) of some user- or framework-defined class other than those handled specifically by the other kinds of SavedObjects.
  • Represents a Variable that is initialized by loading the contents from the checkpoint.
  • Protocol buffer representing the configuration of a Saver.
  • SignatureDef defines the signature of a computation supported by a TensorFlow graph.
  • StructuredValue represents a dynamically typed value representing various data structures that are inspired by Python data structures typically used in TensorFlow functions as inputs and outputs.
  • Information about a Tensor necessary for feeding or retrieval.
  • Protocol buffer representing a tensor.
  • Dimensions of a tensor.
  • A protobuf to tf.TensorSpec.
  • Represents a Python tuple.
  • Represents a tf.TypeSpec
  • Protocol buffer representing a Variable.
  • Protocol buffer representing the serialization format of DT_VARIANT tensors.
  • Version information for a piece of serialized data

Enums