docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field allowZero

    Whether to handle zeros in the shape like numpy.

    If the shape has a dimension of size 0 and allowZero is true, the output tensor has a dimension of size zero in the same place.

    If the shape has a dimension of size 0 and if allowZero is false, the output tensor has the same dimension as the input tensor at this axis.

    Namespace: Unity.Sentis.Layers
    Assembly: solution.dll
    Syntax
    public bool allowZero
    Returns
    Type Description
    bool
    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)