final case class NodeProto(input: Seq[String] = _root_.scala.Seq.empty, output: Seq[String] = _root_.scala.Seq.empty, name: Option[String] = _root_.scala.None, opType: Option[String] = _root_.scala.None, domain: Option[String] = _root_.scala.None, attribute: Seq[AttributeProto] = _root_.scala.Seq.empty, docString: Option[String] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[NodeProto] with Product with Serializable
Nodes
Computation graphs are made up of a DAG of nodes, which represent what is commonly called a "layer" or "pipeline stage" in machine learning frameworks.
For example, it can be a node of type "Conv" that takes in an image, a filter tensor and a bias tensor, and produces the convolved output.
- input
namespace Value
- output
namespace Value
- name
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR. namespace Node
- opType
The symbolic identifier of the Operator to execute. namespace Operator
- domain
The domain of the OperatorSet that specifies the operator named by op_type. namespace Domain
- attribute
Additional named attributes.
- docString
A human-readable documentation for this node. Markdown is allowed.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- NodeProto
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
NodeProto(input: Seq[String] = _root_.scala.Seq.empty, output: Seq[String] = _root_.scala.Seq.empty, name: Option[String] = _root_.scala.None, opType: Option[String] = _root_.scala.None, domain: Option[String] = _root_.scala.None, attribute: Seq[AttributeProto] = _root_.scala.Seq.empty, docString: Option[String] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)
- input
namespace Value
- output
namespace Value
- name
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR. namespace Node
- opType
The symbolic identifier of the Operator to execute. namespace Operator
- domain
The domain of the OperatorSet that specifies the operator named by op_type. namespace Domain
- attribute
Additional named attributes.
- docString
A human-readable documentation for this node. Markdown is allowed.
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 addAllAttribute(__vs: Iterable[AttributeProto]): NodeProto
- def addAllInput(__vs: Iterable[String]): NodeProto
- def addAllOutput(__vs: Iterable[String]): NodeProto
- def addAttribute(__vs: AttributeProto*): NodeProto
- def addInput(__vs: String*): NodeProto
- def addOutput(__vs: String*): NodeProto
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attribute: Seq[AttributeProto]
- def clearAttribute: NodeProto
- def clearDocString: NodeProto
- def clearDomain: NodeProto
- def clearInput: NodeProto
- def clearName: NodeProto
- def clearOpType: NodeProto
- def clearOutput: NodeProto
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: NodeProto.type
- Definition Classes
- NodeProto → GeneratedMessage
- def discardUnknownFields: NodeProto
- val docString: Option[String]
- val domain: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getDocString: String
- def getDomain: String
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- NodeProto → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- NodeProto → GeneratedMessage
- def getName: String
- def getOpType: String
- val input: Seq[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val opType: Option[String]
- val output: Seq[String]
-
def
serializedSize: Int
- Definition Classes
- NodeProto → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- NodeProto → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[NodeProto, NodeProto]) ⇒ Mutation[NodeProto]*): NodeProto
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withAttribute(__v: Seq[AttributeProto]): NodeProto
- def withDocString(__v: String): NodeProto
- def withDomain(__v: String): NodeProto
- def withInput(__v: Seq[String]): NodeProto
- def withName(__v: String): NodeProto
- def withOpType(__v: String): NodeProto
- def withOutput(__v: Seq[String]): NodeProto
- def withUnknownFields(__v: UnknownFieldSet): NodeProto
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- NodeProto → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated