StenSaddleSyntax

lamp.saddle.`package`.StenSaddleSyntax
implicit class StenSaddleSyntax(value: STen)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def toFloatMat: Mat[Float]

Converts to a Mat[Float].

Converts to a Mat[Float].

Copies to CPU if needed. Fails if dtype is not float. Fails if shape does not conform a matrix.

Attributes

def toFloatVec: Vec[Float]

Converts to a Vec[Float].

Converts to a Vec[Float].

Copies to CPU if needed. Fails if dtype is not float. Flattens the shape.

Attributes

def toLongMat: Mat[Long]

Converts to a Mat[Long].

Converts to a Mat[Long].

Copies to CPU if needed. Fails if dtype is not long. Fails if shape does not conform a matrix.

Attributes

def toLongVec: Vec[Long]

Converts to a Vec[Long].

Converts to a Vec[Long].

Copies to CPU if needed. Fails if dtype is not long. Flattens the shape.

Attributes

def toMat: Mat[Double]

Converts to a Mat[Double].

Converts to a Mat[Double].

Copies to CPU if needed. Fails if dtype is not float or double. Fails if shape does not conform a matrix.

Attributes

def toVec: Vec[Double]

Converts to a Vec[Double].

Converts to a Vec[Double].

Copies to CPU if needed. Fails if dtype is not float or double. Flattens the shape.

Attributes