Packages

package api_def

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class ApiDef(graphOpName: String = "", deprecationMessage: String = "", deprecationVersion: Int = 0, visibility: Visibility = ..., endpoint: Seq[Endpoint] = _root_.scala.Seq.empty, inArg: Seq[Arg] = _root_.scala.Seq.empty, outArg: Seq[Arg] = _root_.scala.Seq.empty, argOrder: Seq[String] = _root_.scala.Seq.empty, attr: Seq[Attr] = _root_.scala.Seq.empty, summary: String = "", description: String = "", descriptionPrefix: String = "", descriptionSuffix: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ApiDef] with Product with Serializable

    Used to specify and override the default API & behavior in the generated code for client languages, from what you would get from the OpDef alone.

    Used to specify and override the default API & behavior in the generated code for client languages, from what you would get from the OpDef alone. There will be a set of ApiDefs that are common to all client languages, and another set per client language. The per-client-language ApiDefs will inherit values from the common ApiDefs which it can either replace or modify.

    We separate the API definition from the OpDef so we can evolve the API while remaining backwards compatible when interpretting old graphs. Overrides go in an "api_def.pbtxt" file with a text-format ApiDefs message.

    WARNING: Be *very* careful changing the API for any existing op -- you can change the semantics of existing code. These changes may need to wait until a major release of TensorFlow to avoid breaking our compatibility promises.

    graphOpName

    Name of the op (in the OpDef) to specify the API for.

    deprecationMessage

    If this op is deprecated, set deprecation message to the message that should be logged when this op is used. The message should indicate alternative op to use, if any.

    deprecationVersion

    Major version when the op will be deleted. For e.g. set this value to 2 if op API should be removed in TensorFlow 2.0 and deprecated in versions before that.

    argOrder

    List of original in_arg names to specify new argument order. Length of arg_order should be either empty to keep current order or match size of in_arg.

    summary

    One-line human-readable description of what the Op does.

    description

    Additional, longer human-readable description of what the Op does.

    descriptionPrefix

    Modify an existing/inherited description by adding text to the beginning or end.

    Annotations
    @SerialVersionUID()
  2. final case class ApiDefs(op: Seq[ApiDef] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ApiDefs] with Product with Serializable
    Annotations
    @SerialVersionUID()

Value Members

  1. object ApiDef extends GeneratedMessageCompanion[ApiDef]
  2. object ApiDefProto extends GeneratedFileObject
  3. object ApiDefs extends GeneratedMessageCompanion[ApiDefs]

Ungrouped