package saddle
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- saddle
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- implicit class StenSaddleSyntax extends AnyRef
Value Members
-
def
fromFloatMat[S](m: Mat[Float], device: Device)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromLongMat[S](m: Mat[Long], cuda: Boolean = false)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromLongMat[S](m: Mat[Long], device: Device)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromLongVec[S](m: Vec[Long], cuda: Boolean = false)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromLongVec[S](m: Vec[Long], device: Device)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromMat[S](m: Mat[Double], device: Device, precision: FloatingPointPrecision)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromMat[S](m: Mat[Double], cuda: Boolean = false)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromVec[S](m: Vec[Double], device: Device, precision: FloatingPointPrecision)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device
-
def
fromVec[S](m: Vec[Double], cuda: Boolean = false)(implicit arg0: Sc[S]): STen
Returns a tensor with the given content and shape on the given device