docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Zeros

    Zeros(int)

    Creates index with zeros 0 of specified rank Ex: EmptyOfRank(rank: 3) => (0, 0, 0)

    Declaration
    public static TensorIndex Zeros(int rank)
    Parameters
    Type Name Description
    int rank

    The rank of the tensor index.

    Returns
    Type Description
    TensorIndex

    The created tensor index.

    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)