DefaultStrides

class DefaultStrides : Strides

Simple implementation of Strides.

Types

Companion
Link copied to clipboard
common
object Companion

Functions

equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
index
Link copied to clipboard
common
open override fun index(offset: Int): IntArray
Get multidimensional from linear
indices
Link copied to clipboard
common
open fun indices(): Sequence<IntArray>
Iterate over ND indices in a natural order
offset
Link copied to clipboard
common
open fun offset(index: IntArray): Int
Get linear index from multidimensional index

Properties

linearSize
Link copied to clipboard
common
open override val linearSize: Int
The size of linear buffer to accommodate all elements of ND-structure corresponding to strides
shape
Link copied to clipboard
common
open override val shape: IntArray
Shape of NDStructure
strides
Link copied to clipboard
common
open override val strides: IntArray
Strides for memory access