Packages

final case class GraphProto(node: Seq[NodeProto] = _root_.scala.collection.Seq.empty, name: String = "", initializer: Seq[TensorProto] = _root_.scala.collection.Seq.empty, docString: String = "", input: Seq[ValueInfoProto] = _root_.scala.collection.Seq.empty, output: Seq[ValueInfoProto] = _root_.scala.collection.Seq.empty, valueInfo: Seq[ValueInfoProto] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[GraphProto] with Updatable[GraphProto] with Product with Serializable

Graphs

A graph defines the computational logic of a model and is comprised of a parameterized list of nodes that form a directed acyclic graph based on their inputs and outputs. This is the equivalent of the "network" or "graph" in many deep learning frameworks.

node

The nodes in the graph, sorted topologically.

name

The name of the graph. namespace Graph

initializer

A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.

docString

A human-readable documentation for this graph. Markdown is allowed.

input

The inputs and outputs of the graph.

valueInfo

Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.

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

Instance Constructors

  1. new GraphProto(node: Seq[NodeProto] = _root_.scala.collection.Seq.empty, name: String = "", initializer: Seq[TensorProto] = _root_.scala.collection.Seq.empty, docString: String = "", input: Seq[ValueInfoProto] = _root_.scala.collection.Seq.empty, output: Seq[ValueInfoProto] = _root_.scala.collection.Seq.empty, valueInfo: Seq[ValueInfoProto] = _root_.scala.collection.Seq.empty)

    node

    The nodes in the graph, sorted topologically.

    name

    The name of the graph. namespace Graph

    initializer

    A list of named tensor values, used to specify constant inputs of the graph. Each TensorProto entry must have a distinct name (within the list) that also appears in the input list.

    docString

    A human-readable documentation for this graph. Markdown is allowed.

    input

    The inputs and outputs of the graph.

    valueInfo

    Information for the values in the graph. The ValueInfoProto.name's must be distinct. It is optional for a value to appear in value_info list.

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 addAllInitializer(__vs: TraversableOnce[TensorProto]): GraphProto
  5. def addAllInput(__vs: TraversableOnce[ValueInfoProto]): GraphProto
  6. def addAllNode(__vs: TraversableOnce[NodeProto]): GraphProto
  7. def addAllOutput(__vs: TraversableOnce[ValueInfoProto]): GraphProto
  8. def addAllValueInfo(__vs: TraversableOnce[ValueInfoProto]): GraphProto
  9. def addInitializer(__vs: TensorProto*): GraphProto
  10. def addInput(__vs: ValueInfoProto*): GraphProto
  11. def addNode(__vs: NodeProto*): GraphProto
  12. def addOutput(__vs: ValueInfoProto*): GraphProto
  13. def addValueInfo(__vs: ValueInfoProto*): GraphProto
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clearInitializer: GraphProto
  16. def clearInput: GraphProto
  17. def clearNode: GraphProto
  18. def clearOutput: GraphProto
  19. def clearValueInfo: GraphProto
  20. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  21. def companion: GraphProto.type
    Definition Classes
    GraphProto → GeneratedMessage
  22. val docString: String
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    GraphProto → GeneratedMessage
  27. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    GraphProto → GeneratedMessage
  28. val initializer: Seq[TensorProto]
  29. val input: Seq[ValueInfoProto]
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def mergeFrom(_input__: CodedInputStream): GraphProto
    Definition Classes
    GraphProto → Message
  32. val name: String
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. val node: Seq[NodeProto]
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. val output: Seq[ValueInfoProto]
  38. final def serializedSize: Int
    Definition Classes
    GraphProto → GeneratedMessage
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  41. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  42. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  43. def toProtoString: String
    Definition Classes
    GraphProto → GeneratedMessage
  44. def update(ms: (Lens[GraphProto, GraphProto]) ⇒ Mutation[GraphProto]*): GraphProto
    Definition Classes
    Updatable
  45. val valueInfo: Seq[ValueInfoProto]
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. def withDocString(__v: String): GraphProto
  50. def withInitializer(__v: Seq[TensorProto]): GraphProto
  51. def withInput(__v: Seq[ValueInfoProto]): GraphProto
  52. def withName(__v: String): GraphProto
  53. def withNode(__v: Seq[NodeProto]): GraphProto
  54. def withOutput(__v: Seq[ValueInfoProto]): GraphProto
  55. def withValueInfo(__v: Seq[ValueInfoProto]): GraphProto
  56. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  57. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    GraphProto → GeneratedMessage
  58. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[GraphProto]

Inherited from Message[GraphProto]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped