Packages

final case class NodeProto(input: Seq[String] = _root_.scala.collection.Seq.empty, output: Seq[String] = _root_.scala.collection.Seq.empty, name: String = "", opType: String = "", domain: String = "", attribute: Seq[AttributeProto] = _root_.scala.collection.Seq.empty, docString: String = "") 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.collection.Seq.empty, output: Seq[String] = _root_.scala.collection.Seq.empty, name: String = "", opType: String = "", domain: String = "", attribute: Seq[AttributeProto] = _root_.scala.collection.Seq.empty, docString: String = "")

    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: TraversableOnce[AttributeProto]): NodeProto
  5. def addAllInput(__vs: TraversableOnce[String]): NodeProto
  6. def addAllOutput(__vs: TraversableOnce[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 clearInput: NodeProto
  14. def clearOutput: NodeProto
  15. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  16. def companion: NodeProto.type
    Definition Classes
    NodeProto → GeneratedMessage
  17. val docString: String
  18. val domain: String
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    NodeProto → GeneratedMessage
  23. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    NodeProto → GeneratedMessage
  24. val input: Seq[String]
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def mergeFrom(_input__: CodedInputStream): NodeProto
    Definition Classes
    NodeProto → Message
  27. val name: String
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val opType: String
  32. val output: Seq[String]
  33. final def serializedSize: Int
    Definition Classes
    NodeProto → GeneratedMessage
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  36. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  37. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  38. def toProtoString: String
    Definition Classes
    NodeProto → GeneratedMessage
  39. def update(ms: (Lens[NodeProto, NodeProto]) ⇒ Mutation[NodeProto]*): NodeProto
    Definition Classes
    Updatable
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  43. def withAttribute(__v: Seq[AttributeProto]): NodeProto
  44. def withDocString(__v: String): NodeProto
  45. def withDomain(__v: String): NodeProto
  46. def withInput(__v: Seq[String]): NodeProto
  47. def withName(__v: String): NodeProto
  48. def withOpType(__v: String): NodeProto
  49. def withOutput(__v: Seq[String]): NodeProto
  50. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  51. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    NodeProto → GeneratedMessage
  52. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. 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

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