Documentation
¶
Overview ¶
Package tmath provides basic math operations and functions that operate on tensor.Tensor.
Index ¶
- func Abs(in tensor.Tensor) tensor.Values
- func AbsOut(in tensor.Tensor, out tensor.Values) error
- func Acos(in tensor.Tensor) tensor.Values
- func AcosOut(in tensor.Tensor, out tensor.Values) error
- func Acosh(in tensor.Tensor) tensor.Values
- func AcoshOut(in tensor.Tensor, out tensor.Values) error
- func Add(a, b tensor.Tensor) tensor.Values
- func AddAssign(a, b tensor.Tensor) error
- func AddOut(a, b tensor.Tensor, out tensor.Values) error
- func And(a, b tensor.Tensor) *tensor.Bool
- func AndOut(a, b tensor.Tensor, out *tensor.Bool) error
- func Asin(in tensor.Tensor) tensor.Values
- func AsinOut(in tensor.Tensor, out tensor.Values) error
- func Asinh(in tensor.Tensor) tensor.Values
- func AsinhOut(in tensor.Tensor, out tensor.Values) error
- func Assign(a, b tensor.Tensor) error
- func Atan(in tensor.Tensor) tensor.Values
- func Atan2(y, x tensor.Tensor) tensor.Values
- func Atan2Out(y, x tensor.Tensor, out tensor.Values) error
- func AtanOut(in tensor.Tensor, out tensor.Values) error
- func Atanh(in tensor.Tensor) tensor.Values
- func AtanhOut(in tensor.Tensor, out tensor.Values) error
- func Cbrt(in tensor.Tensor) tensor.Values
- func CbrtOut(in tensor.Tensor, out tensor.Values) error
- func Ceil(in tensor.Tensor) tensor.Values
- func CeilOut(in tensor.Tensor, out tensor.Values) error
- func Copysign(x, y tensor.Tensor) tensor.Values
- func CopysignOut(x, y tensor.Tensor, out tensor.Values) error
- func Cos(in tensor.Tensor) tensor.Values
- func CosOut(in tensor.Tensor, out tensor.Values) error
- func Cosh(in tensor.Tensor) tensor.Values
- func CoshOut(in tensor.Tensor, out tensor.Values) error
- func Dec(a tensor.Tensor) error
- func Dim(x, y tensor.Tensor) tensor.Values
- func DimOut(x, y tensor.Tensor, out tensor.Values) error
- func Div(a, b tensor.Tensor) tensor.Values
- func DivAssign(a, b tensor.Tensor) error
- func DivOut(a, b tensor.Tensor, out tensor.Values) error
- func Equal(a, b tensor.Tensor) *tensor.Bool
- func EqualOut(a, b tensor.Tensor, out *tensor.Bool) error
- func Erf(in tensor.Tensor) tensor.Values
- func ErfOut(in tensor.Tensor, out tensor.Values) error
- func Erfc(in tensor.Tensor) tensor.Values
- func ErfcOut(in tensor.Tensor, out tensor.Values) error
- func Erfcinv(in tensor.Tensor) tensor.Values
- func ErfcinvOut(in tensor.Tensor, out tensor.Values) error
- func Erfinv(in tensor.Tensor) tensor.Values
- func ErfinvOut(in tensor.Tensor, out tensor.Values) error
- func Exp(in tensor.Tensor) tensor.Values
- func Exp2(in tensor.Tensor) tensor.Values
- func Exp2Out(in tensor.Tensor, out tensor.Values) error
- func ExpOut(in tensor.Tensor, out tensor.Values) error
- func Expm1(in tensor.Tensor) tensor.Values
- func Expm1Out(in tensor.Tensor, out tensor.Values) error
- func Floor(in tensor.Tensor) tensor.Values
- func FloorOut(in tensor.Tensor, out tensor.Values) error
- func Gamma(in tensor.Tensor) tensor.Values
- func GammaOut(in tensor.Tensor, out tensor.Values) error
- func Greater(a, b tensor.Tensor) *tensor.Bool
- func GreaterEqual(a, b tensor.Tensor) *tensor.Bool
- func GreaterEqualOut(a, b tensor.Tensor, out *tensor.Bool) error
- func GreaterOut(a, b tensor.Tensor, out *tensor.Bool) error
- func Hypot(x, y tensor.Tensor) tensor.Values
- func HypotOut(x, y tensor.Tensor, out tensor.Values) error
- func Inc(a tensor.Tensor) error
- func J0(in tensor.Tensor) tensor.Values
- func J0Out(in tensor.Tensor, out tensor.Values) error
- func J1(in tensor.Tensor) tensor.Values
- func J1Out(in tensor.Tensor, out tensor.Values) error
- func Less(a, b tensor.Tensor) *tensor.Bool
- func LessEqual(a, b tensor.Tensor) *tensor.Bool
- func LessEqualOut(a, b tensor.Tensor, out *tensor.Bool) error
- func LessOut(a, b tensor.Tensor, out *tensor.Bool) error
- func Log(in tensor.Tensor) tensor.Values
- func Log1p(in tensor.Tensor) tensor.Values
- func Log1pOut(in tensor.Tensor, out tensor.Values) error
- func Log2(in tensor.Tensor) tensor.Values
- func Log2Out(in tensor.Tensor, out tensor.Values) error
- func Log10(in tensor.Tensor) tensor.Values
- func Log10Out(in tensor.Tensor, out tensor.Values) error
- func LogOut(in tensor.Tensor, out tensor.Values) error
- func Logb(in tensor.Tensor) tensor.Values
- func LogbOut(in tensor.Tensor, out tensor.Values) error
- func Max(x, y tensor.Tensor) tensor.Values
- func MaxOut(x, y tensor.Tensor, out tensor.Values) error
- func Min(x, y tensor.Tensor) tensor.Values
- func MinOut(x, y tensor.Tensor, out tensor.Values) error
- func Mod(a, b tensor.Tensor) tensor.Values
- func ModAssign(a, b tensor.Tensor) error
- func ModOut(a, b tensor.Tensor, out tensor.Values) error
- func Mul(a, b tensor.Tensor) tensor.Values
- func MulAssign(a, b tensor.Tensor) error
- func MulOut(a, b tensor.Tensor, out tensor.Values) error
- func Negate(a tensor.Tensor) tensor.Values
- func NegateOut(a tensor.Tensor, out tensor.Values) error
- func Nextafter(x, y tensor.Tensor) tensor.Values
- func NextafterOut(x, y tensor.Tensor, out tensor.Values) error
- func Not(a tensor.Tensor) *tensor.Bool
- func NotEqual(a, b tensor.Tensor) *tensor.Bool
- func NotEqualOut(a, b tensor.Tensor, out *tensor.Bool) error
- func NotOut(a tensor.Tensor, out *tensor.Bool) error
- func Or(a, b tensor.Tensor) *tensor.Bool
- func OrOut(a, b tensor.Tensor, out *tensor.Bool) error
- func Pow(x, y tensor.Tensor) tensor.Values
- func PowOut(x, y tensor.Tensor, out tensor.Values) error
- func Remainder(x, y tensor.Tensor) tensor.Values
- func RemainderOut(x, y tensor.Tensor, out tensor.Values) error
- func Round(in tensor.Tensor) tensor.Values
- func RoundOut(in tensor.Tensor, out tensor.Values) error
- func RoundToEven(in tensor.Tensor) tensor.Values
- func RoundToEvenOut(in tensor.Tensor, out tensor.Values) error
- func Sin(in tensor.Tensor) tensor.Values
- func SinOut(in tensor.Tensor, out tensor.Values) error
- func Sinh(in tensor.Tensor) tensor.Values
- func SinhOut(in tensor.Tensor, out tensor.Values) error
- func Sqrt(in tensor.Tensor) tensor.Values
- func SqrtOut(in tensor.Tensor, out tensor.Values) error
- func Sub(a, b tensor.Tensor) tensor.Values
- func SubAssign(a, b tensor.Tensor) error
- func SubOut(a, b tensor.Tensor, out tensor.Values) error
- func Tan(in tensor.Tensor) tensor.Values
- func TanOut(in tensor.Tensor, out tensor.Values) error
- func Tanh(in tensor.Tensor) tensor.Values
- func TanhOut(in tensor.Tensor, out tensor.Values) error
- func Trunc(in tensor.Tensor) tensor.Values
- func TruncOut(in tensor.Tensor, out tensor.Values) error
- func Y0(in tensor.Tensor) tensor.Values
- func Y0Out(in tensor.Tensor, out tensor.Values) error
- func Y1(in tensor.Tensor) tensor.Values
- func Y1Out(in tensor.Tensor, out tensor.Values) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Div ¶
Div divides tensors into output. always does floating point division, even with integer operands.
func GreaterEqual ¶
GreaterEqual stores in the output the bool value a >= b.
func GreaterEqualOut ¶
GreaterEqualOut stores in the output the bool value a >= b.
func GreaterOut ¶
GreaterOut stores in the output the bool value a > b.
func LessEqualOut ¶
LessEqualOut stores in the output the bool value a <= b.
func NotEqualOut ¶
NotEqualOut stores in the output the bool value a != b.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.