ColumnOps

lamp.table.ColumnOps
trait ColumnOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Column
Self type

Members list

Value members

Concrete methods

def *[S : Sc](other: STen): Column

Multiplication

Multiplication

Attributes

def *[S : Sc](other: Long): Column
def *[S : Sc](other: Double): Column
def +[S : Sc](other: Column): Column

Adds to tensors.

Adds to tensors.

Attributes

def +[S : Sc](other: Double): Column

Adds a scalar to all elements.

Adds a scalar to all elements.

Attributes

def +[S : Sc](other: Long): Column

Adds a scalar to all elements.

Adds a scalar to all elements.

Attributes

def -[S : Sc](other: Column): Column

Subtracts from tensor.

Subtracts from tensor.

Attributes

def /[S : Sc](other: STen): Column
def /[S : Sc](other: Long): Column
def /[S : Sc](other: Double): Column
def <[S : Sc](other: Column): Column
def <=[S : Sc](other: Column): Column
def <>[S : Sc](other: Column): Column
def >[S : Sc](other: Column): Column

Return a boolean tensor indicating element-wise greater-than.

Return a boolean tensor indicating element-wise greater-than.

Attributes

def >=[S : Sc](other: Column): Column
def abs[S : Sc]: Column
def acos[S : Sc]: Column
def and[S : Sc](other: Column): Column

Return a boolean tensor with element-wise logical and.

Return a boolean tensor with element-wise logical and.

Attributes

def argsort[S : Sc](descending: Boolean): Column

Returns a long tensors with the argsort of the given dimension.

Returns a long tensors with the argsort of the given dimension.

Indexing the given dimension by the returned tensor would result in a sorted order.

Attributes

def asin[S : Sc]: Column
def atan[S : Sc]: Column
def castToBool[S : Sc]: Column

Casts to long

Casts to long

Attributes

def castToByte[S : Sc]: Column

Casts to byte. signed 8-bit integer (like Scala's Byte) This is called Char in libtorch

Casts to byte. signed 8-bit integer (like Scala's Byte) This is called Char in libtorch

Attributes

def castToDouble[S : Sc]: Column

Casts to double

Casts to double

Attributes

def castToFloat[S : Sc]: Column

Casts to float

Casts to float

Attributes

def castToLong[S : Sc]: Column

Casts to long

Casts to long

Attributes

def ceil[S : Sc]: Column
def cos[S : Sc]: Column
def equ[S : Sc](other: Column): Column

Returns a boolean tensors of the same shape, indicating equality with the other tensor.

Returns a boolean tensors of the same shape, indicating equality with the other tensor.

Attributes

def equ[S : Sc](other: Double): Column

Returns a boolean tensors of the same shape, indicating equality with the other value.

Returns a boolean tensors of the same shape, indicating equality with the other value.

Attributes

def equ[S : Sc](other: Long): Column

Returns a boolean tensors of the same shape, indicating equality with the other value.

Returns a boolean tensors of the same shape, indicating equality with the other value.

Attributes

def exp[S : Sc]: Column
def floor[S : Sc]: Column
def isNaN[S : Sc]: Column
def log[S : Sc]: Column
def log1p[S : Sc]: Column
def maskFill[S : Sc](mask: Column, fill: Double): Column

Fills the tensor with the given fill value in the locations indicated by the mask boolean mask.

Fills the tensor with the given fill value in the locations indicated by the mask boolean mask.

Attributes

def maskFill[S : Sc](mask: Column, fill: Long): Column

Fills the tensor with the given fill value in the locations indicated by the mask boolean mask.

Fills the tensor with the given fill value in the locations indicated by the mask boolean mask.

Attributes

def nanToNum[S : Sc]: Column
def not[S : Sc]: Column
def or[S : Sc](other: Column): Column
def pow[S : Sc](exponent: Double): Column
def reciprocal[S : Sc]: Column
def remainder[S : Sc](other: Column): Column
def round[S : Sc]: Column
def sign[S : Sc]: Column
def sin[S : Sc]: Column
def sqrt[S : Sc]: Column
def square[S : Sc]: Column
def tan[S : Sc]: Column
def xor[S : Sc](other: Column): Column