abstract struct Number

Overview

The top-level number type.

Included Modules

Defined in:

mxnet/ndarray.cr
mxnet/symbol.cr

Instance Method Summary

Instance Method Detail

def !=(other : MXNet::NDArray) #

Performs element-wise not equal to (#!=) comparison.


[View source]
def !=(other : MXNet::Symbol) #

Performs element-wise not equal to (#!=) comparison.


[View source]
def %(other : MXNet::NDArray) #

Performs element-wise modulo.


[View source]
def %(other : MXNet::Symbol) #

Performs element-wise modulo.


[View source]
def &(other : MXNet::NDArray) #

Performs element-wise logical and (#&) comparison.


[View source]
def &(other : MXNet::Symbol) #

Performs element-wise logical and (#&) comparison.


[View source]
def *(other : MXNet::NDArray) #

Performs element-wise multiplication.


[View source]
def *(other : MXNet::Symbol) #

Performs element-wise multiplication.


[View source]
def **(other : MXNet::NDArray) #

Returns the result of this number raised to powers from the array, element-wise.


[View source]
def **(other : MXNet::Symbol) #

Returns the result of this number raised to powers from the array, element-wise.


[View source]
def +(other : MXNet::NDArray) #

Performs element-wise addition.


[View source]
def +(other : MXNet::Symbol) #

Performs element-wise addition.


[View source]
def -(other : MXNet::NDArray) #

Performs element-wise subtraction.


[View source]
def -(other : MXNet::Symbol) #

Performs element-wise subtraction.


[View source]
def /(other : MXNet::NDArray) #

Performs element-wise division.


[View source]
def /(other : MXNet::Symbol) #

Performs element-wise division.


[View source]
def <(other : MXNet::NDArray) #

Performs element-wise less than (#<) comparison.


[View source]
def <(other : MXNet::Symbol) #

Performs element-wise less than (#<) comparison.


[View source]
def <=(other : MXNet::NDArray) #

Performs element-wise less than or equal to (#<=) comparison.


[View source]
def <=(other : MXNet::Symbol) #

Performs element-wise less than or equal to (#<=) comparison.


[View source]
def ==(other : MXNet::NDArray) #

Performs element-wise equal to (#==) comparison.


[View source]
def ==(other : MXNet::Symbol) #

Performs element-wise equal to (#==) comparison.


[View source]
def >(other : MXNet::NDArray) #

Performs element-wise greater than (#>) comparison.


[View source]
def >(other : MXNet::Symbol) #

Performs element-wise greater than (#>) comparison.


[View source]
def >=(other : MXNet::NDArray) #

Performs element-wise greater than or equal to (#>=) comparison.


[View source]
def >=(other : MXNet::Symbol) #

Performs element-wise greater than or equal to (#>=) comparison.


[View source]
def ^(other : MXNet::NDArray) #

Performs element-wise logical xor (#^) comparison.


[View source]
def ^(other : MXNet::Symbol) #

Performs element-wise logical xor (#^) comparison.


[View source]
def |(other : MXNet::NDArray) #

Performs element-wise logical or (#|) comparison.


[View source]
def |(other : MXNet::Symbol) #

Performs element-wise logical or (#|) comparison.


[View source]