Show / Hide Table of Contents

    Method idxToLinear

    val idxToLinear: TensorLayout -> int64 list -> int64

    Computes the linear index of a given index. Linear indexing is performed in row-major order.

    Declaration
    val idxToLinear: a:TensorLayout -> idx:int64 list -> int64
    Parameters
    Type Name Description
    TensorLayout a
    int64 list idx
    Returns
    Type Description
    int64
    Back to top Generated by DocFX