final case class TensorAnnotation(tensorName: Option[String] = _root_.scala.None, quantParameterTensorNames: Seq[StringStringEntryProto] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[TensorAnnotation] with Product with Serializable
- quantParameterTensorNames
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
- Annotations
- @SerialVersionUID()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TensorAnnotation
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
TensorAnnotation(tensorName: Option[String] = _root_.scala.None, quantParameterTensorNames: Seq[StringStringEntryProto] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)
- quantParameterTensorNames
<key, value> pairs to annotate tensor specified by <tensor_name> above. The keys used in the mapping below must be pre-defined in ONNX spec. For example, for 8-bit linear quantization case, 'SCALE_TENSOR', 'ZERO_POINT_TENSOR' will be pre-defined as quantization parameter keys.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllQuantParameterTensorNames(__vs: Iterable[StringStringEntryProto]): TensorAnnotation
- def addQuantParameterTensorNames(__vs: StringStringEntryProto*): TensorAnnotation
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearQuantParameterTensorNames: TensorAnnotation
- def clearTensorName: TensorAnnotation
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: TensorAnnotation.type
- Definition Classes
- TensorAnnotation → GeneratedMessage
- def discardUnknownFields: TensorAnnotation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- TensorAnnotation → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- TensorAnnotation → GeneratedMessage
- def getTensorName: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val quantParameterTensorNames: Seq[StringStringEntryProto]
-
def
serializedSize: Int
- Definition Classes
- TensorAnnotation → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tensorName: Option[String]
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- TensorAnnotation → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[TensorAnnotation, TensorAnnotation]) ⇒ Mutation[TensorAnnotation]*): TensorAnnotation
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withQuantParameterTensorNames(__v: Seq[StringStringEntryProto]): TensorAnnotation
- def withTensorName(__v: String): TensorAnnotation
- def withUnknownFields(__v: UnknownFieldSet): TensorAnnotation
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- TensorAnnotation → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated