Uses of Class
com.yahoo.tensor.evaluation.Name
Packages that use Name
Package
Description
Tensor data types
Tensor function evaluation
-
Uses of Name in com.yahoo.tensor.evaluation
Classes in com.yahoo.tensor.evaluation with type parameters of type NameModifier and TypeInterfaceDescriptioninterfaceEvaluationContext<NAMETYPE extends Name>An evaluation context which is passed down to all nested functions during evaluation.classMapEvaluationContext<NAMETYPE extends Name>interfaceTypeContext<NAMETYPE extends Name>Provides type information about a context (set of variable bindings).classVariableTensor<NAMETYPE extends Name>A tensor variable name which resolves to a tensor in the context at evaluation time -
Uses of Name in com.yahoo.tensor.functions
Classes in com.yahoo.tensor.functions with type parameters of type NameModifier 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.interfaceScalarFunction<NAMETYPE extends Name>A function which returns a scalarclassReturns a subspace of a tensorstatic classSlice.DimensionValue<NAMETYPE extends Name>classclassTensorFunction<NAMETYPE extends Name>A representation of a tensor function which is able to be translated to a set of primitive tensor functions if necessary.interfaceToStringContext<NAMETYPE extends Name>A context which is passed down to all nested functions when returning a string representation.static classToStringContext.EmptyStringContext<NAMETYPE extends Name>classMethods in com.yahoo.tensor.functions with type parameters of type NameModifier and TypeMethodDescriptionGenerate.bound(TensorType type, ScalarFunction<NAMETYPE> generator) Creates a generated tensor from a bound functionstatic <NAMETYPE extends Name>
ToStringContext<NAMETYPE>ToStringContext.empty()Creates a generated tensor from a free functionstatic <NAMETYPE extends Name>
DynamicTensor<NAMETYPE>DynamicTensor.from(TensorType type, List<ScalarFunction<NAMETYPE>> cells) Creates a dynamic tensor function for a bound, indexed tensorstatic <NAMETYPE extends Name>
DynamicTensor<NAMETYPE>DynamicTensor.from(TensorType type, Map<TensorAddress, ScalarFunction<NAMETYPE>> cells) Creates a dynamic tensor function.