Show / Hide Table of Contents

    Class TensorLayout (rec)

    Layout (shape, offset, stride) of a Tensor.

    Inheritance
    System.Object
    TensorLayout (rec)
    Namespace: Tensor.Backend
    Assembly: Tensor.dll
    Syntax
    record TensorLayout
        val Shape: int64 list
        val Offset: int64
        val Stride: int64 list

    Fields

    Name Description
    val Offset: int64

    Offset (to first element) in elements.

    val Shape: int64 list

    Shape.

    val Stride: int64 list

    Stride in elements.

    Properties

    Name Description
    property NDims: int

    Number of dimensions.

    property NElems: int64

    Number of elements.

    Back to top Generated by DocFX