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

  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 addAllAttribute(__vs: Iterable[AttributeProto]): NodeProto
  5. def addAllInput(__vs: Iterable[String]): NodeProto
  6. def addAllOutput(__vs: Iterable[String]): NodeProto
  7. def addAttribute(__vs: AttributeProto*): NodeProto
  8. def addInput(__vs: String*): NodeProto
  9. def addOutput(__vs: String*): NodeProto
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. val attribute: Seq[AttributeProto]
  12. def clearAttribute: NodeProto
  13. def clearDocString: NodeProto
  14. def clearDomain: NodeProto
  15. def clearInput: NodeProto
  16. def clearName: NodeProto
  17. def clearOpType: NodeProto
  18. def clearOutput: NodeProto
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  20. def companion: NodeProto.type
    Definition Classes
    NodeProto → GeneratedMessage
  21. def discardUnknownFields: NodeProto
  22. val docString: Option[String]
  23. val domain: Option[String]
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def getDocString: String
  27. def getDomain: String
  28. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    NodeProto → GeneratedMessage
  29. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    NodeProto → GeneratedMessage
  30. def getName: String
  31. def getOpType: String
  32. val input: Seq[String]
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. val name: Option[String]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. val opType: Option[String]
  39. val output: Seq[String]
  40. def serializedSize: Int
    Definition Classes
    NodeProto → GeneratedMessage
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  43. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  44. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  45. def toProtoString: String
    Definition Classes
    NodeProto → GeneratedMessage
  46. val unknownFields: UnknownFieldSet
  47. def update(ms: (Lens[NodeProto, NodeProto]) ⇒ Mutation[NodeProto]*): NodeProto
    Definition Classes
    Updatable
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def withAttribute(__v: Seq[AttributeProto]): NodeProto
  52. def withDocString(__v: String): NodeProto
  53. def withDomain(__v: String): NodeProto
  54. def withInput(__v: Seq[String]): NodeProto
  55. def withName(__v: String): NodeProto
  56. def withOpType(__v: String): NodeProto
  57. def withOutput(__v: Seq[String]): NodeProto
  58. def withUnknownFields(__v: UnknownFieldSet): NodeProto
  59. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  60. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    NodeProto → GeneratedMessage
  61. 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

Inherited from Updatable[NodeProto]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped