Uses of Class
com.yahoo.tensor.DimensionSizes
Packages that use DimensionSizes
-
Uses of DimensionSizes in com.yahoo.tensor
Methods in com.yahoo.tensor that return DimensionSizesModifier and TypeMethodDescriptionDimensionSizes.Builder.build()Build this.IndexedTensor.dimensionSizes()static DimensionSizesDimensionSizes.of(TensorType type) Create sizes from a type containing bound indexed dimensions only.Methods in com.yahoo.tensor with parameters of type DimensionSizesModifier and TypeMethodDescriptionIndexedTensor.cellIterator(PartialAddress partialAddress, DimensionSizes iterationSizes) Returns an iterator over all the cells in this tensor which matches the given partial addressstatic DirectIndexedAddressDirectIndexedAddress.of(DimensionSizes sizes) static IndexedTensor.BuilderIndexedTensor.Builder.of(TensorType type, DimensionSizes sizes) Create a builder with dimension size information for this instance.static IndexedTensor.BuilderIndexedTensor.Builder.of(TensorType type, DimensionSizes sizes, double[] values) Creates a builder initialized with the given valuesstatic IndexedTensor.BuilderIndexedTensor.Builder.of(TensorType type, DimensionSizes sizes, float[] values) Creates a builder initialized with the given valuesstatic IndexedTensor.IndexesIndexedTensor.Indexes.of(DimensionSizes sizes) static Tensor.BuilderTensor.Builder.of(TensorType type, DimensionSizes dimensionSizes) Creates a suitable builder for the given typeIndexedTensor.subspaceIterator(Set<String> dimensions, DimensionSizes sizes) Returns an iterator over value iterators where the outer iterator is over each unique value of the dimensions given and the inner iterator is over each unique value of the rest of the dimensions, in the standard value order