MutableBufferND
class MutableBufferND<T>(strides: ShapeIndexer, buffer: MutableBuffer<T>) : BufferND<T> , MutableStructureND<T>
Content copied to clipboard
Represents MutableStructureND over MutableBuffer.
Parameters
T
the type of items.
strides
The strides to access elements of MutableBuffer by linear indices.
buffer
The underlying buffer.
Constructors
Functions
Link copied to clipboard
open override fun <F : StructureFeature> getFeature(type: KClass<out F>): F?
Content copied to clipboard
Feature is some additional structure information that allows to access it special properties or hints. If the feature is not present, null
is returned.