public interface OffsetMapper
| Modifier and Type | Method and Description |
|---|---|
int |
getOffset(int baseOffset,
int[] shape,
int[] stride,
int[] indices)
Get an offset for retrieval
from a data buffer
based on the given
shape stride and given indices
|
int getOffset(int baseOffset,
int[] shape,
int[] stride,
int[] indices)
baseOffset - the offset to start fromshape - the shape of the arraystride - the stride of the arrayindices - the indices to iterate overCopyright © 2015. All Rights Reserved.