Class/Object

onnx.onnx

NodeProto

Related Docs: object NodeProto | package onnx

Permalink

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) extends GeneratedMessage with Message[NodeProto] 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()
Linear Supertypes
Product, Equals, Updatable[NodeProto], Message[NodeProto], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeProto
  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 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)

    Permalink

    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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllAttribute(__vs: Iterable[AttributeProto]): NodeProto

    Permalink
  5. def addAllInput(__vs: Iterable[String]): NodeProto

    Permalink
  6. def addAllOutput(__vs: Iterable[String]): NodeProto

    Permalink
  7. def addAttribute(__vs: AttributeProto*): NodeProto

    Permalink
  8. def addInput(__vs: String*): NodeProto

    Permalink
  9. def addOutput(__vs: String*): NodeProto

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. val attribute: Seq[AttributeProto]

    Permalink

    Additional named attributes.

  12. def clearAttribute: NodeProto

    Permalink
  13. def clearDocString: NodeProto

    Permalink
  14. def clearDomain: NodeProto

    Permalink
  15. def clearInput: NodeProto

    Permalink
  16. def clearName: NodeProto

    Permalink
  17. def clearOpType: NodeProto

    Permalink
  18. def clearOutput: NodeProto

    Permalink
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def companion: NodeProto.type

    Permalink
    Definition Classes
    NodeProto → GeneratedMessage
  21. val docString: Option[String]

    Permalink

    A human-readable documentation for this node.

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

  22. val domain: Option[String]

    Permalink

    The domain of the OperatorSet that specifies the operator named by op_type.

    The domain of the OperatorSet that specifies the operator named by op_type. namespace Domain

  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def getDocString: String

    Permalink
  27. def getDomain: String

    Permalink
  28. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    NodeProto → GeneratedMessage
  29. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    NodeProto → GeneratedMessage
  30. def getName: String

    Permalink
  31. def getOpType: String

    Permalink
  32. val input: Seq[String]

    Permalink

    namespace Value

  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. def mergeFrom(_input__: CodedInputStream): NodeProto

    Permalink
    Definition Classes
    NodeProto → Message
  35. val name: Option[String]

    Permalink

    An optional identifier for this node in a graph.

    An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR. namespace Node

  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. val opType: Option[String]

    Permalink

    The symbolic identifier of the Operator to execute.

    The symbolic identifier of the Operator to execute. namespace Operator

  40. val output: Seq[String]

    Permalink

    namespace Value

  41. final def serializedSize: Int

    Permalink
    Definition Classes
    NodeProto → GeneratedMessage
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  44. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  45. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  46. def toProtoString: String

    Permalink
    Definition Classes
    NodeProto → GeneratedMessage
  47. def update(ms: (Lens[NodeProto, NodeProto]) ⇒ Mutation[NodeProto]*): NodeProto

    Permalink
    Definition Classes
    Updatable
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def withAttribute(__v: Seq[AttributeProto]): NodeProto

    Permalink
  52. def withDocString(__v: String): NodeProto

    Permalink
  53. def withDomain(__v: String): NodeProto

    Permalink
  54. def withInput(__v: Seq[String]): NodeProto

    Permalink
  55. def withName(__v: String): NodeProto

    Permalink
  56. def withOpType(__v: String): NodeProto

    Permalink
  57. def withOutput(__v: Seq[String]): NodeProto

    Permalink
  58. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  59. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    NodeProto → GeneratedMessage
  60. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    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[NodeProto]

Inherited from Message[NodeProto]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped