Class InterpolatedSlicing<C,​E>

  • Type Parameters:
    E - the type of the hold values
    C - the type of the interpolation direction, must be Comparable
    All Implemented Interfaces:
    ReductionStrategy<C,​E,​E>

    public class InterpolatedSlicing<C,​E>
    extends Slicing<C,​E>
    The extended slicing strategy that involves the possibility to interpolate over the specified, comparable coordinate
    • Method Detail

      • reduce

        public E reduce​(java.util.Map<? extends C,​E> inputValues,
                        Position position)
        Specified by:
        reduce in interface ReductionStrategy<C,​E,​E>
        Overrides:
        reduce in class Slicing<C,​E>
        Parameters:
        inputValues - the sub values of the tensor from which the reduction is performed
        position - a remaining position in the tensor for which reduction is performed
        Returns:
        the value of reduction