docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Range

    Range(TensorFloat, float, float)

    Generates a 1D output tensor where the values form an arithmetic progression defined by the start and delta values.

    Declaration
    void Range(TensorFloat O, float start, float delta)
    Parameters
    Type Name Description
    TensorFloat O

    The output tensor to be computed and filled.

    float start

    The first value in the range.

    float delta

    The delta between subsequent values in the range.

    Range(TensorInt, int, int)

    Generates a 1D output tensor where the values form an arithmetic progression defined by the start and delta values.

    Declaration
    void Range(TensorInt O, int start, int delta)
    Parameters
    Type Name Description
    TensorInt O

    The output tensor to be computed and filled.

    int start

    The first value in the range.

    int delta

    The delta between subsequent values in the range.

    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)