IntScalar

smile.cas.IntScalar
trait IntScalar extends Tensor

Scalar: rank-0 tensor.

Attributes

Graph
Supertypes
trait Tensor
class Object
trait Matchable
class Any
Known subtypes
class Ceil
class Floor
class IntAdd
class IntConst
class IntDiv
class IntMul
class IntNeg
class IntPower
class IntSub
class IntVal
class IntVar
class Mod
class Round
Show all

Members list

Value members

Abstract methods

Applies the expression.

Applies the expression.

Attributes

Concrete methods

def %(y: IntScalar): IntScalar
def *(y: IntScalar): IntScalar
def +(y: IntScalar): IntScalar
def -(y: IntScalar): IntScalar
def /(y: IntScalar): IntScalar
def apply(env: (String, Tensor)*): IntScalar

Applies the expression.

Applies the expression.

Attributes

override def rank: Option[Int]

The rank of tensor, i.e. the number of dimensions.

The rank of tensor, i.e. the number of dimensions.

Attributes

Definition Classes
override def shape: Option[Array[IntScalar]]

The shape of tensor, i.e. the size of each dimension.

The shape of tensor, i.e. the size of each dimension.

Attributes

Definition Classes

Simplify the expression.

Simplify the expression.

Attributes

Explicit conversion of int to float.

Explicit conversion of int to float.

Attributes