• Computes the location (multidimensional index) in a tensor/multidimentional array for a given flat index.

    Parameters

    • index: number

      Index in flat array.

    • rank: number

      Rank of tensor.

    • strides: number[]

      Strides of tensor.

    Returns number[]

Generated using TypeDoc