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()
- Alphabetic
- By Inheritance
- GraphProto
- Product
- Equals
- Updatable
- Message
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllInitializer(__vs: TraversableOnce[TensorProto]): GraphProto
- def addAllInput(__vs: TraversableOnce[ValueInfoProto]): GraphProto
- def addAllNode(__vs: TraversableOnce[NodeProto]): GraphProto
- def addAllOutput(__vs: TraversableOnce[ValueInfoProto]): GraphProto
- def addAllValueInfo(__vs: TraversableOnce[ValueInfoProto]): GraphProto
- def addInitializer(__vs: TensorProto*): GraphProto
- def addInput(__vs: ValueInfoProto*): GraphProto
- def addNode(__vs: NodeProto*): GraphProto
- def addOutput(__vs: ValueInfoProto*): GraphProto
- def addValueInfo(__vs: ValueInfoProto*): GraphProto
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearInitializer: GraphProto
- def clearInput: GraphProto
- def clearNode: GraphProto
- def clearOutput: GraphProto
- def clearValueInfo: GraphProto
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
companion: GraphProto.type
- Definition Classes
- GraphProto → GeneratedMessage
- val docString: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- GraphProto → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- GraphProto → GeneratedMessage
- val initializer: Seq[TensorProto]
- val input: Seq[ValueInfoProto]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mergeFrom(_input__: CodedInputStream): GraphProto
- Definition Classes
- GraphProto → Message
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val node: Seq[NodeProto]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val output: Seq[ValueInfoProto]
-
final
def
serializedSize: Int
- Definition Classes
- GraphProto → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- GraphProto → GeneratedMessage
-
def
update(ms: (Lens[GraphProto, GraphProto]) ⇒ Mutation[GraphProto]*): GraphProto
- Definition Classes
- Updatable
- val valueInfo: Seq[ValueInfoProto]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withDocString(__v: String): GraphProto
- def withInitializer(__v: Seq[TensorProto]): GraphProto
- def withInput(__v: Seq[ValueInfoProto]): GraphProto
- def withName(__v: String): GraphProto
- def withNode(__v: Seq[NodeProto]): GraphProto
- def withOutput(__v: Seq[ValueInfoProto]): GraphProto
- def withValueInfo(__v: Seq[ValueInfoProto]): GraphProto
-
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- GraphProto → GeneratedMessage
-
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
getAllFields: Map[FieldDescriptor, Any]
- Definition Classes
- GeneratedMessage
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.0) Use toPMessage
-
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