Class/Object

onnx.onnx.TypeProto

Tensor

Related Docs: object Tensor | package TypeProto

Permalink

final case class Tensor(elemType: Option[Int] = _root_.scala.None, shape: Option[TensorShapeProto] = _root_.scala.None) extends GeneratedMessage with Message[Tensor] with Updatable[Tensor] with Product with Serializable

elemType

This field MUST NOT have the value of UNDEFINED This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Tensor], Message[Tensor], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tensor
  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 Tensor(elemType: Option[Int] = _root_.scala.None, shape: Option[TensorShapeProto] = _root_.scala.None)

    Permalink

    elemType

    This field MUST NOT have the value of UNDEFINED This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.

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 clearElemType: Tensor

    Permalink
  6. def clearShape: Tensor

    Permalink
  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Tensor → GeneratedMessage
  9. val elemType: Option[Int]

    Permalink

    This field MUST NOT have the value of UNDEFINED This field MUST have a valid TensorProto.DataType value This field MUST be present for this version of the IR.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getElemType: Int

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

    Permalink
    Definition Classes
    Tensor → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    Tensor → GeneratedMessage
  16. def getShape: TensorShapeProto

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def mergeFrom(_input__: CodedInputStream): Tensor

    Permalink
    Definition Classes
    Tensor → Message
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def serializedSize: Int

    Permalink
    Definition Classes
    Tensor → GeneratedMessage
  23. val shape: Option[TensorShapeProto]

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

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

    Permalink
    Definition Classes
    GeneratedMessage
  26. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  27. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  28. def toProtoString: String

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withElemType(__v: Int): Tensor

    Permalink
  34. def withShape(__v: TensorShapeProto): Tensor

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

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

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

Inherited from Message[Tensor]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped