case class STenOptions(value: TensorOptions) extends Product with Serializable
- Alphabetic
- By Inheritance
- STenOptions
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new STenOptions(value: TensorOptions)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def cpu[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with device set to CPU
- def cuda[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with device set to cuda:0
- def cudaIndex[S](index: Short)(implicit arg0: Sc[S]): STenOptions
Returns a copy with device set to cuda with index
- def deviceIndex: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def isByte: Boolean
- def isCPU: Boolean
- def isCuda: Boolean
- def isDouble: Boolean
- def isFloat: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInt: Boolean
- def isLong: Boolean
- def isShort: Boolean
- def isSparse: Boolean
- def mps[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with device set to mps:0
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def scalarTypeByte: Byte
Returns the byte representation of dtype
Returns the byte representation of dtype
0 - byte, 1 - char 2 - short 3 - int 4 - long, 5 - half 6 - float, 7 - double, 8 - complex half 9 - complex float 10 - complex double 11 - bool 15 - bfloat16 12,13,14,16 - quantized ints
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBF16[S](implicit arg0: Sc[S]): STenOptions
- def toByte[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to a value compatible with Scala's Byte
- def toDouble[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to double
- def toFloat[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to float
- def toHalf[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to half
- def toInt[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to long
- def toLong[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to long
- def toShort[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to long
- val value: TensorOptions
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)