docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property this

    this[int, int, int, int, int, int, int, int]

    Returns the tensor element at offset (d7, d6, d5, d4, d3, d2, d1, d0), which is position d7 * stride6 + d6 * stride5 + d5 * stride4 + d4 * stride3 + d3 * stride2 + d2 * stride1 + d1 * stride0 + d0.

    Declaration
    public float this[int d7, int d6, int d5, int d4, int d3, int d2, int d1, int d0] { get; set; }
    Parameters
    Type Name Description
    int d7

    Axis 7.

    int d6

    Axis 6.

    int d5

    Axis 5.

    int d4

    Axis 4.

    int d3

    Axis 3.

    int d2

    Axis 2.

    int d1

    Axis 1.

    int d0

    Axis 0.

    Property Value
    Type Description
    float

    this[int, int, int, int, int, int, int]

    Returns the tensor element at offset (d6, d5, d4, d3, d2, d1, d0), which is position d6 * stride5 + d5 * stride4 + d4 * stride3 + d3 * stride2 + d2 * stride1 + d1 * stride0 + d0.

    Declaration
    public float this[int d6, int d5, int d4, int d3, int d2, int d1, int d0] { get; set; }
    Parameters
    Type Name Description
    int d6

    Axis 6.

    int d5

    Axis 5.

    int d4

    Axis 4.

    int d3

    Axis 3.

    int d2

    Axis 2.

    int d1

    Axis 1.

    int d0

    Axis 0.

    Property Value
    Type Description
    float

    this[int, int, int, int, int, int]

    Returns the tensor element at offset (d5, d4, d3, d2, d1, d0), which is position d5 * stride4 + d4 * stride3 + d3 * stride2 + d2 * stride1 + d1 * stride0 + d0.

    Declaration
    public float this[int d5, int d4, int d3, int d2, int d1, int d0] { get; set; }
    Parameters
    Type Name Description
    int d5

    Axis 5.

    int d4

    Axis 4.

    int d3

    Axis 3.

    int d2

    Axis 2.

    int d1

    Axis 1.

    int d0

    Axis 0.

    Property Value
    Type Description
    float

    this[int, int, int, int, int]

    Returns the tensor element at offset (d4, d3, d2, d1, d0), which is position d4 * stride3 + d3 * stride2 + d2 * stride1 + d1 * stride0 + d0.

    Declaration
    public float this[int d4, int d3, int d2, int d1, int d0] { get; set; }
    Parameters
    Type Name Description
    int d4

    Axis 4.

    int d3

    Axis 3.

    int d2

    Axis 2.

    int d1

    Axis 1.

    int d0

    Axis 0.

    Property Value
    Type Description
    float

    this[int, int, int, int]

    Returns the tensor element at offset (d3, d2, d1, d0), which is position d3 * stride2 + d2 * stride1 + d1 * stride0 + d0 in this tensor.

    Declaration
    public float this[int d3, int d2, int d1, int d0] { get; set; }
    Parameters
    Type Name Description
    int d3

    Axis 3.

    int d2

    Axis 2.

    int d1

    Axis 1.

    int d0

    Axis 0.

    Property Value
    Type Description
    float

    this[int, int, int]

    Returns the tensor element at offset (d2, d1, d0), which is position d2 * stride1 + d1 * stride0 + d0.

    Declaration
    public float this[int d2, int d1, int d0] { get; set; }
    Parameters
    Type Name Description
    int d2

    Axis 2.

    int d1

    Axis 1.

    int d0

    Axis 0.

    Property Value
    Type Description
    float

    this[int, int]

    Returns the tensor element at offset (d1, d0), which is position d1 * stride0 + d0.

    Declaration
    public float this[int d1, int d0] { get; set; }
    Parameters
    Type Name Description
    int d1

    Axis 1.

    int d0

    Axis 0.

    Property Value
    Type Description
    float

    this[int]

    Returns the tensor element at offset d0.

    Declaration
    public float this[int d0] { get; set; }
    Parameters
    Type Name Description
    int d0

    Axis 0.

    Property Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)