E
- the type of the hold valuesC
- the type of the interpolation direction, must be Comparablepublic class InterpolatedSlicing<C,E> extends Slicing<C,E>
slicePosition
Constructor and Description |
---|
InterpolatedSlicing(C slicePosition,
InterpolationStrategy<C,E> strategy,
Tensor<E> tensor) |
Modifier and Type | Method and Description |
---|---|
E |
reduce(java.util.Map<? extends C,E> inputValues,
Position position) |
public E reduce(java.util.Map<? extends C,E> inputValues, Position position)
reduce
in interface ReductionStrategy<C,E,E>
reduce
in class Slicing<C,E>
inputValues
- the sub values of the tensor from which the reduction is performedposition
- a remaining position in the tensor for which reduction is performed