Uses of Class
com.yahoo.tensor.functions.TensorFunction
Packages that use TensorFunction
Package
Description
Tensor data types
Tensor function evaluation
-
Uses of TensorFunction in com.yahoo.tensor.evaluation
Subclasses of TensorFunction in com.yahoo.tensor.evaluationModifier and TypeClassDescriptionclassVariableTensor<NAMETYPE extends Name>A tensor variable name which resolves to a tensor in the context at evaluation timeMethods in com.yahoo.tensor.evaluation that return TensorFunctionModifier and TypeMethodDescriptionVariableTensor.withArguments(List<TensorFunction<NAMETYPE>> arguments) Methods in com.yahoo.tensor.evaluation that return types with arguments of type TensorFunctionMethod parameters in com.yahoo.tensor.evaluation with type arguments of type TensorFunctionModifier and TypeMethodDescriptionVariableTensor.withArguments(List<TensorFunction<NAMETYPE>> arguments) -
Uses of TensorFunction in com.yahoo.tensor.functions
Subclasses of TensorFunction in com.yahoo.tensor.functionsModifier and TypeClassDescriptionclassclassclassThe cell_cast tensor function creates a new tensor with the specified cell value type.classCompositeTensorFunction<NAMETYPE extends Name>A composite tensor function is a tensor function which can be expressed (less tersely) as a tree of primitive tensor functions.classConcatenation of two tensors along an (indexed) dimensionclassConstantTensor<NAMETYPE extends Name>A function which returns a constant tensor.classCosineSimilarity<NAMETYPE extends Name>Convenience for cosine similarity between vectors.classA tensor generator which returns a tensor of any dimension filled with 1 in the diagonal and 0 elsewhere.classDynamicTensor<NAMETYPE extends Name>A function which is a tensor whose values are computed by individual lambda functions on evaluation.classEuclideanDistance<NAMETYPE extends Name>Convenience for euclidean distance between vectors.classThe expand tensor function returns a tensor with a new dimension of size 1 is added, equivalent to "tensor * tensor(dim_name[1])(1)".classAn indexed tensor whose values are generated by a functionclassThe 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.classL1Normalize<NAMETYPE extends Name>classL2Normalize<NAMETYPE extends Name>classThe map tensor function produces a tensor where the given function is applied on each cell value.classMapSubspaces<NAMETYPE extends Name>The map_subspaces tensor function transforms each dense subspace in a (mixed) tensorclassclassThe merge tensor operation produces from two argument tensors having equal types a tensor having the same type where the values are the union of the values of both tensors.classPrimitiveTensorFunction<NAMETYPE extends Name>A primitive tensor function is a tensor function which cannot be expressed in terms of other tensor functions.classA tensor generator which returns a tensor of any dimension filled with random numbers between 0 and 1.classA tensor generator which returns a tensor of any dimension filled with the sum of the tensor indexes of each position.classThe reduce tensor operation returns a tensor produced from the argument tensor where some dimensions are collapsed to a single value using an aggregator function.classReduceJoin<NAMETYPE extends Name>An optimization for tensor expressions where a join immediately follows a reduce.classThe rename tensor function returns a tensor where some dimensions are assigned new names.classReturns a subspace of a tensorclassclassMethods in com.yahoo.tensor.functions that return TensorFunctionModifier and TypeMethodDescriptionMap.argument()MapSubspaces.argument()Reduce.argument()Argmax.withArguments(List<TensorFunction<NAMETYPE>> arguments) Argmin.withArguments(List<TensorFunction<NAMETYPE>> arguments) CellCast.withArguments(List<TensorFunction<NAMETYPE>> arguments) Concat.withArguments(List<TensorFunction<NAMETYPE>> arguments) ConstantTensor.withArguments(List<TensorFunction<NAMETYPE>> arguments) CosineSimilarity.withArguments(List<TensorFunction<NAMETYPE>> arguments) Diag.withArguments(List<TensorFunction<NAMETYPE>> arguments) DynamicTensor.withArguments(List<TensorFunction<NAMETYPE>> arguments) EuclideanDistance.withArguments(List<TensorFunction<NAMETYPE>> arguments) Expand.withArguments(List<TensorFunction<NAMETYPE>> arguments) Generate.withArguments(List<TensorFunction<NAMETYPE>> arguments) Join.withArguments(List<TensorFunction<NAMETYPE>> arguments) L1Normalize.withArguments(List<TensorFunction<NAMETYPE>> arguments) L2Normalize.withArguments(List<TensorFunction<NAMETYPE>> arguments) Map.withArguments(List<TensorFunction<NAMETYPE>> arguments) MapSubspaces.withArguments(List<TensorFunction<NAMETYPE>> arguments) Matmul.withArguments(List<TensorFunction<NAMETYPE>> arguments) Merge.withArguments(List<TensorFunction<NAMETYPE>> arguments) Random.withArguments(List<TensorFunction<NAMETYPE>> arguments) Range.withArguments(List<TensorFunction<NAMETYPE>> arguments) Reduce.withArguments(List<TensorFunction<NAMETYPE>> arguments) ReduceJoin.withArguments(List<TensorFunction<NAMETYPE>> arguments) Rename.withArguments(List<TensorFunction<NAMETYPE>> arguments) Softmax.withArguments(List<TensorFunction<NAMETYPE>> arguments) abstract TensorFunction<NAMETYPE>TensorFunction.withArguments(List<TensorFunction<NAMETYPE>> arguments) Returns a copy of this tensor function with the arguments replaced by the given list of arguments.XwPlusB.withArguments(List<TensorFunction<NAMETYPE>> arguments) Slice.withTransformedFunctions(Function<ScalarFunction<NAMETYPE>, ScalarFunction<NAMETYPE>> transformer) TensorFunction.withTransformedFunctions(Function<ScalarFunction<NAMETYPE>, ScalarFunction<NAMETYPE>> transformer) Methods in com.yahoo.tensor.functions that return types with arguments of type TensorFunctionModifier and TypeMethodDescriptionArgmax.arguments()Argmin.arguments()CellCast.arguments()Concat.arguments()ConstantTensor.arguments()CosineSimilarity.arguments()Diag.arguments()DynamicTensor.arguments()EuclideanDistance.arguments()Expand.arguments()Generate.arguments()Join.arguments()L1Normalize.arguments()L2Normalize.arguments()Map.arguments()MapSubspaces.arguments()Matmul.arguments()Merge.arguments()Random.arguments()Range.arguments()Reduce.arguments()ReduceJoin.arguments()Rename.arguments()Slice.arguments()Softmax.arguments()abstract List<TensorFunction<NAMETYPE>>TensorFunction.arguments()Returns the function arguments of this node in the order they are appliedXwPlusB.arguments()default Optional<TensorFunction<NAMETYPE>>ScalarFunction.asTensorFunction()Returns this as a tensor function, or empty if it cannot be represented as a tensor functionabstract List<TensorFunction<NAMETYPE>>DynamicTensor.cellGeneratorFunctions()Slice.selectorFunctions()Method parameters in com.yahoo.tensor.functions with type arguments of type TensorFunctionModifier and TypeMethodDescriptionArgmax.withArguments(List<TensorFunction<NAMETYPE>> arguments) Argmin.withArguments(List<TensorFunction<NAMETYPE>> arguments) CellCast.withArguments(List<TensorFunction<NAMETYPE>> arguments) Concat.withArguments(List<TensorFunction<NAMETYPE>> arguments) ConstantTensor.withArguments(List<TensorFunction<NAMETYPE>> arguments) CosineSimilarity.withArguments(List<TensorFunction<NAMETYPE>> arguments) Diag.withArguments(List<TensorFunction<NAMETYPE>> arguments) DynamicTensor.withArguments(List<TensorFunction<NAMETYPE>> arguments) EuclideanDistance.withArguments(List<TensorFunction<NAMETYPE>> arguments) Expand.withArguments(List<TensorFunction<NAMETYPE>> arguments) Generate.withArguments(List<TensorFunction<NAMETYPE>> arguments) Join.withArguments(List<TensorFunction<NAMETYPE>> arguments) L1Normalize.withArguments(List<TensorFunction<NAMETYPE>> arguments) L2Normalize.withArguments(List<TensorFunction<NAMETYPE>> arguments) Map.withArguments(List<TensorFunction<NAMETYPE>> arguments) MapSubspaces.withArguments(List<TensorFunction<NAMETYPE>> arguments) Matmul.withArguments(List<TensorFunction<NAMETYPE>> arguments) Merge.withArguments(List<TensorFunction<NAMETYPE>> arguments) Random.withArguments(List<TensorFunction<NAMETYPE>> arguments) Range.withArguments(List<TensorFunction<NAMETYPE>> arguments) Reduce.withArguments(List<TensorFunction<NAMETYPE>> arguments) ReduceJoin.withArguments(List<TensorFunction<NAMETYPE>> arguments) Rename.withArguments(List<TensorFunction<NAMETYPE>> arguments) Slice.withArguments(List<TensorFunction<NAMETYPE>> arguments) Softmax.withArguments(List<TensorFunction<NAMETYPE>> arguments) abstract TensorFunction<NAMETYPE>TensorFunction.withArguments(List<TensorFunction<NAMETYPE>> arguments) Returns a copy of this tensor function with the arguments replaced by the given list of arguments.XwPlusB.withArguments(List<TensorFunction<NAMETYPE>> arguments) Constructors in com.yahoo.tensor.functions with parameters of type TensorFunctionModifierConstructorDescriptionArgmax(TensorFunction<NAMETYPE> argument) Argmax(TensorFunction<NAMETYPE> argument, String dimension) Argmax(TensorFunction<NAMETYPE> argument, List<String> dimensions) Argmin(TensorFunction<NAMETYPE> argument) Argmin(TensorFunction<NAMETYPE> argument, String dimension) Argmin(TensorFunction<NAMETYPE> argument, List<String> dimensions) CellCast(TensorFunction<NAMETYPE> argument, TensorType.Value valueType) Concat(TensorFunction<NAMETYPE> argumentA, TensorFunction<NAMETYPE> argumentB, String dimension) CosineSimilarity(TensorFunction<NAMETYPE> argument1, TensorFunction<NAMETYPE> argument2, String dimension) EuclideanDistance(TensorFunction<NAMETYPE> argument1, TensorFunction<NAMETYPE> argument2, String dimension) Expand(TensorFunction<NAMETYPE> argument, String dimension) Join(TensorFunction<NAMETYPE> argumentA, TensorFunction<NAMETYPE> argumentB, DoubleBinaryOperator combinator) L1Normalize(TensorFunction<NAMETYPE> argument, String dimension) L2Normalize(TensorFunction<NAMETYPE> argument, String dimension) Map(TensorFunction<NAMETYPE> argument, DoubleUnaryOperator mapper) MapSubspaces(TensorFunction<NAMETYPE> argument, String functionArg, TensorFunction<NAMETYPE> function) Matmul(TensorFunction<NAMETYPE> argument1, TensorFunction<NAMETYPE> argument2, String dimension) Merge(TensorFunction<NAMETYPE> argumentA, TensorFunction<NAMETYPE> argumentB, DoubleBinaryOperator merger) Reduce(TensorFunction<NAMETYPE> argument, Reduce.Aggregator aggregator) Creates a reduce function reducing all dimensionsReduce(TensorFunction<NAMETYPE> argument, Reduce.Aggregator aggregator, String dimension) Creates a reduce function reducing a single dimensionReduce(TensorFunction<NAMETYPE> argument, Reduce.Aggregator aggregator, List<String> dimensions) Creates a reduce function.ReduceJoin(TensorFunction<NAMETYPE> argumentA, TensorFunction<NAMETYPE> argumentB, DoubleBinaryOperator combinator, Reduce.Aggregator aggregator, List<String> dimensions) Rename(TensorFunction<NAMETYPE> argument, String fromDimension, String toDimension) Slice(TensorFunction<NAMETYPE> argument, List<Slice.DimensionValue<NAMETYPE>> subspaceAddress) Creates a value functionSoftmax(TensorFunction<NAMETYPE> argument, String dimension) XwPlusB(TensorFunction<NAMETYPE> x, TensorFunction<NAMETYPE> w, TensorFunction<NAMETYPE> b, String dimension)