BufferND

constructor(indices: ShapeIndexer, buffer: Buffer<T>)(source)

Parameters

T

the type of items.

indices

The strides to access elements of Buffer by linear indices.

buffer

The underlying buffer.