Class/Object

onnx.onnx_operators

OperatorProto

Related Docs: object OperatorProto | package onnx_operators

Permalink

final case class OperatorProto(opType: Option[String] = _root_.scala.None, sinceVersion: Option[Long] = _root_.scala.None, status: Option[OperatorStatus] = _root_.scala.None, docString: Option[String] = _root_.scala.None) extends GeneratedMessage with Message[OperatorProto] with Updatable[OperatorProto] with Product with Serializable

An OperatorProto represents the immutable specification of the signature and semantics of an operator.

Operators are declared as part of an OperatorSet, which also defines the domain name for the set.

Operators are uniquely identified by a three part identifier (domain, op_type, since_version) where *domain* is the domain of an operator set that contains this operator specification.

*op_type* is the name of the operator as referenced by a NodeProto.op_type

*since_version* is the version of the operator set that this operator was initially declared in.

opType

The name of the operator within a domain. This field MUST be present in this version of the IR.

sinceVersion

The version of the operator set that first introduced this operator. This value MUST be the same value as the opset_version of the operator set that first published this operator. Subsequent versions of the operator set MUST NOT alter the signature or semantics of the operator once published as STABLE. This field MUST be present in this version of the IR.

status

This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.

docString

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

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[OperatorProto], Message[OperatorProto], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OperatorProto
  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 OperatorProto(opType: Option[String] = _root_.scala.None, sinceVersion: Option[Long] = _root_.scala.None, status: Option[OperatorStatus] = _root_.scala.None, docString: Option[String] = _root_.scala.None)

    Permalink

    opType

    The name of the operator within a domain. This field MUST be present in this version of the IR.

    sinceVersion

    The version of the operator set that first introduced this operator. This value MUST be the same value as the opset_version of the operator set that first published this operator. Subsequent versions of the operator set MUST NOT alter the signature or semantics of the operator once published as STABLE. This field MUST be present in this version of the IR.

    status

    This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.

    docString

    A human-readable documentation for this operator. 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clearDocString: OperatorProto

    Permalink
  6. def clearOpType: OperatorProto

    Permalink
  7. def clearSinceVersion: OperatorProto

    Permalink
  8. def clearStatus: OperatorProto

    Permalink
  9. def clone(): AnyRef

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

    Permalink
    Definition Classes
    OperatorProto → GeneratedMessage
  11. val docString: Option[String]

    Permalink

    A human-readable documentation for this operator.

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

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

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

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

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

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

    Permalink
    Definition Classes
    OperatorProto → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    OperatorProto → GeneratedMessage
  18. def getOpType: String

    Permalink
  19. def getSinceVersion: Long

    Permalink
  20. def getStatus: OperatorStatus

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def mergeFrom(_input__: CodedInputStream): OperatorProto

    Permalink
    Definition Classes
    OperatorProto → Message
  23. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

    The name of the operator within a domain.

    The name of the operator within a domain. This field MUST be present in this version of the IR.

  27. final def serializedSize: Int

    Permalink
    Definition Classes
    OperatorProto → GeneratedMessage
  28. val sinceVersion: Option[Long]

    Permalink

    The version of the operator set that first introduced this operator.

    The version of the operator set that first introduced this operator. This value MUST be the same value as the opset_version of the operator set that first published this operator. Subsequent versions of the operator set MUST NOT alter the signature or semantics of the operator once published as STABLE. This field MUST be present in this version of the IR.

  29. val status: Option[OperatorStatus]

    Permalink

    This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage.

    This field indicates whether the syntax, semantics, or presence of this operator is in an experimental or stable stage. Once an operator is published as STABLE, it's syntax and semantics MUST NOT change in subsequent versions of the operator set. When an operator is published as EXPERIMENTAL, the syntax and semantics of the operator MAY change across operator set versions. Operators "become" stable by deprecating the experimental version and introducing a new stable operator with the same op_type.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    GeneratedMessage
  32. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  33. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  34. def toProtoString: String

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def withDocString(__v: String): OperatorProto

    Permalink
  40. def withOpType(__v: String): OperatorProto

    Permalink
  41. def withSinceVersion(__v: Long): OperatorProto

    Permalink
  42. def withStatus(__v: OperatorStatus): OperatorProto

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

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

    Permalink
    Definition Classes
    OperatorProto → GeneratedMessage
  45. 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[OperatorProto]

Inherited from Message[OperatorProto]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped