Uses of Class
com.yahoo.tensor.TensorType.Dimension
-
Packages that use TensorType.Dimension Package Description com.yahoo.tensor Tensor data types -
-
Uses of TensorType.Dimension in com.yahoo.tensor
Subclasses of TensorType.Dimension in com.yahoo.tensor Modifier and Type Class Description static class
TensorType.IndexedBoundDimension
static class
TensorType.IndexedUnboundDimension
static class
TensorType.MappedDimension
Methods in com.yahoo.tensor that return TensorType.Dimension Modifier and Type Method Description static TensorType.Dimension
TensorType.Dimension. indexed(java.lang.String name)
static TensorType.Dimension
TensorType.Dimension. indexed(java.lang.String name, long size)
static TensorType.Dimension
TensorType.Dimension. mapped(java.lang.String name)
abstract TensorType.Dimension
TensorType.Dimension. withName(java.lang.String name)
Returns a copy of this with the name set to the given nameMethods in com.yahoo.tensor that return types with arguments of type TensorType.Dimension Modifier and Type Method Description java.util.Optional<TensorType.Dimension>
TensorType. dimension(java.lang.String name)
Returns the dimension with this name, or empty if not presentjava.util.List<TensorType.Dimension>
TensorType. dimensions()
Returns an immutable list of the dimensions of thisjava.util.Optional<TensorType.Dimension>
TensorType.Builder. getDimension(java.lang.String dimension)
Returns the given dimension, or empty if none is presentMethods in com.yahoo.tensor with parameters of type TensorType.Dimension Modifier and Type Method Description int
TensorType.Dimension. compareTo(TensorType.Dimension other)
TensorType.Builder
TensorType.Builder. dimension(TensorType.Dimension dimension)
Adds the given dimensionTensorType.Builder
TensorType.Builder. set(TensorType.Dimension dimension)
Adds or replaces a dimension in thisMethod parameters in com.yahoo.tensor with type arguments of type TensorType.Dimension Modifier and Type Method Description static TensorType
MixedTensor. createPartialType(TensorType.Value valueType, java.util.List<TensorType.Dimension> dimensions)
Constructor parameters in com.yahoo.tensor with type arguments of type TensorType.Dimension Constructor Description Builder(TensorType.Value valueType, java.lang.Iterable<TensorType.Dimension> dimensions)
Creates a builder from the given value type and dimensionsBuilder(java.lang.Iterable<TensorType.Dimension> dimensions)
Creates a builder from the given dimensions, having double as the value typeTensorType(TensorType.Value valueType, java.util.Collection<TensorType.Dimension> dimensions)
-