case class STenOptions(value: TensorOptions) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- STenOptions
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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]) @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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isCPU: Boolean
- def isCuda: Boolean
- def isDouble: Boolean
- def isFloat: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLong: Boolean
- def isSparse: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def scalarTypeByte: Byte
Returns the byte representation of dtype
Returns the byte representation of dtype
4 - long, 6 - float, 7 - oble
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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 toLong[S](implicit arg0: Sc[S]): STenOptions
Returns a copy with dtype set to long
- val value: TensorOptions
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()