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 = _root_.scalapb.UnknownFieldSet.empty) 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, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeProto
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 = _root_.scalapb.UnknownFieldSet.empty)

    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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  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[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  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
    @IntrinsicCandidate() @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. val opType: Option[String]
  39. val output: Seq[String]
  40. def productElementNames: Iterator[String]
    Definition Classes
    Product
  41. def serializedSize: Int
    Definition Classes
    NodeProto → GeneratedMessage
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  44. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  45. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  46. def toProtoString: String
    Definition Classes
    NodeProto → GeneratedMessage
  47. val unknownFields: UnknownFieldSet
  48. def update(ms: (Lens[NodeProto, NodeProto]) => Mutation[NodeProto]*): NodeProto
    Definition Classes
    Updatable
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. def withAttribute(__v: Seq[AttributeProto]): NodeProto
  53. def withDocString(__v: String): NodeProto
  54. def withDomain(__v: String): NodeProto
  55. def withInput(__v: Seq[String]): NodeProto
  56. def withName(__v: String): NodeProto
  57. def withOpType(__v: String): NodeProto
  58. def withOutput(__v: Seq[String]): NodeProto
  59. def withUnknownFields(__v: UnknownFieldSet): NodeProto
  60. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  61. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    NodeProto → GeneratedMessage
  62. 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

    (Since version 9)

Inherited from Updatable[NodeProto]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped