Packages

final case class GraphDef(node: Seq[NodeDef] = _root_.scala.Seq.empty, versions: Option[VersionDef] = _root_.scala.None, version: Int = 0, library: Option[FunctionDefLibrary] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[GraphDef] with Product with Serializable

Represents the graph of operations

versions

Compatibility versions of the graph. See core/public/version.h for version history. The GraphDef version is distinct from the TensorFlow version, and each release of TensorFlow will support a range of GraphDef versions.

version

Deprecated single version field; use versions above instead. Since all GraphDef changes before "versions" was introduced were forward compatible, this field is entirely ignored.

library

EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET. "library" provides user-defined functions. Naming: * library.function.name are in a flat namespace. NOTE: We may need to change it to be hierarchical to support different orgs. E.g., { "/google/nn", { ... }}, { "/google/vision", { ... }} { "/org_foo/module_bar", { ... }} map<string, FunctionDefLib> named_lib; * If node[i].op is the name of one function in "library", node[i] is deemed as a function call. Otherwise, node[i].op must be a primitive operation supported by the runtime. Function call semantics: * The callee may start execution as soon as some of its inputs are ready. The caller may want to use Tuple() mechanism to ensure all inputs are ready in the same time. * The consumer of return values may start executing as soon as the return values the consumer depends on are ready. The consumer may want to use Tuple() mechanism to ensure the consumer does not start until all return values of the callee function are ready.

Annotations
@SerialVersionUID()
Linear Supertypes
Updatable[GraphDef], GeneratedMessage, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphDef
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GraphDef(node: Seq[NodeDef] = _root_.scala.Seq.empty, versions: Option[VersionDef] = _root_.scala.None, version: Int = 0, library: Option[FunctionDefLibrary] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)

    versions

    Compatibility versions of the graph. See core/public/version.h for version history. The GraphDef version is distinct from the TensorFlow version, and each release of TensorFlow will support a range of GraphDef versions.

    version

    Deprecated single version field; use versions above instead. Since all GraphDef changes before "versions" was introduced were forward compatible, this field is entirely ignored.

    library

    EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET. "library" provides user-defined functions. Naming: * library.function.name are in a flat namespace. NOTE: We may need to change it to be hierarchical to support different orgs. E.g., { "/google/nn", { ... }}, { "/google/vision", { ... }} { "/org_foo/module_bar", { ... }} map<string, FunctionDefLib> named_lib; * If node[i].op is the name of one function in "library", node[i] is deemed as a function call. Otherwise, node[i].op must be a primitive operation supported by the runtime. Function call semantics: * The callee may start execution as soon as some of its inputs are ready. The caller may want to use Tuple() mechanism to ensure all inputs are ready in the same time. * The consumer of return values may start executing as soon as the return values the consumer depends on are ready. The consumer may want to use Tuple() mechanism to ensure the consumer does not start until all return values of the callee function are ready.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllNode(__vs: Iterable[NodeDef]): GraphDef
  5. def addNode(__vs: NodeDef*): GraphDef
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearLibrary: GraphDef
  8. def clearNode: GraphDef
  9. def clearVersions: GraphDef
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def companion: GraphDef.type
    Definition Classes
    GraphDef → GeneratedMessage
  12. def discardUnknownFields: GraphDef
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    GraphDef → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    GraphDef → GeneratedMessage
  17. def getLibrary: FunctionDefLibrary
  18. def getVersions: VersionDef
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val library: Option[FunctionDefLibrary]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. val node: Seq[NodeDef]
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def serializedSize: Int
    Definition Classes
    GraphDef → GeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    GraphDef → GeneratedMessage
  31. val unknownFields: UnknownFieldSet
  32. def update(ms: (Lens[GraphDef, GraphDef]) ⇒ Mutation[GraphDef]*): GraphDef
    Definition Classes
    Updatable
  33. val versions: Option[VersionDef]
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withLibrary(__v: FunctionDefLibrary): GraphDef
  38. def withNode(__v: Seq[NodeDef]): GraphDef
  39. def withUnknownFields(__v: UnknownFieldSet): GraphDef
  40. def withVersion(__v: Int): GraphDef
  41. def withVersions(__v: VersionDef): GraphDef
  42. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  43. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    GraphDef → GeneratedMessage
  44. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. val version: Int
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

Inherited from Updatable[GraphDef]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped