@ExportPackage @PublicApi
Package com.yahoo.tensor.functions
Tensor function evaluation
- Author:
- bratseth
-
Interface Summary Interface Description ToStringContext A context which is passed down to all nested functions when returning a string representation. -
Class Summary Class Description Argmax Argmin CompositeTensorFunction A composite tensor function is a tensor function which can be expressed (less tersely) as a tree of primitive tensor functions.Concat Concatenation of two tensors along an (indexed) dimensionConstantTensor A function which returns a constant tensor.Diag A tensor generator which returns a tensor of any dimension filled with 1 in the diagonal and 0 elsewhere.Generate An indexed tensor whose values are generated by a functionJoin The join tensor operation produces a tensor from the argument tensors containing the set of cells given by the cross product of the cells of the given tensors, having as values the value produced by applying the given combinator function on the values from the two source cells.L1Normalize L2Normalize Map The map tensor function produces a tensor where the given function is applied on each cell value.Matmul PrimitiveTensorFunction A primitive tensor function is a tensor function which cannot be expressed in terms of other tensor functions.Random A tensor generator which returns a tensor of any dimension filled with random numbers between 0 and 1.Range A tensor generator which returns a tensor of any dimension filled with the sum of the tensor indexes of each position.Reduce The reduce tensor operation returns a tensor produced from the argument tensor where some dimensions are collapsed to a single value using an aggregator function.ReduceJoin An optimization for tensor expressions where a join immediately follows a reduce.Rename The rename tensor function returns a tensor where some dimensions are assigned new names.ScalarFunctions Factory of scalar Java functions.ScalarFunctions.Abs ScalarFunctions.Acos ScalarFunctions.Add ScalarFunctions.Asin ScalarFunctions.Atan ScalarFunctions.Ceil ScalarFunctions.Cos ScalarFunctions.Divide ScalarFunctions.Elu ScalarFunctions.Equal ScalarFunctions.EqualElements ScalarFunctions.Exp ScalarFunctions.Floor ScalarFunctions.Greater ScalarFunctions.Less ScalarFunctions.Log ScalarFunctions.Max ScalarFunctions.Mean ScalarFunctions.Min ScalarFunctions.Multiply ScalarFunctions.Neg ScalarFunctions.Pow ScalarFunctions.Random ScalarFunctions.Reciprocal ScalarFunctions.Relu ScalarFunctions.Rsqrt ScalarFunctions.Selu ScalarFunctions.Sigmoid ScalarFunctions.Sin ScalarFunctions.Sqrt ScalarFunctions.Square ScalarFunctions.SquaredDifference ScalarFunctions.Subtract ScalarFunctions.SumElements ScalarFunctions.Tan ScalarFunctions.Tanh Softmax TensorFunction A representation of a tensor function which is able to be translated to a set of primitive tensor functions if necessary.XwPlusB -
Enum Summary Enum Description Reduce.Aggregator