docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ==

    operator ==(TensorShape, TensorShape)

    Compares two TensorShape objects. Returns true if the two objects have the same rank, and all their dimensions are equal.

    Declaration
    public static bool operator ==(TensorShape a, TensorShape b)
    Parameters
    Type Name Description
    TensorShape a

    The first shape to compare.

    TensorShape b

    The second shape to compare.

    Returns
    Type Description
    bool

    Whether the two shapes are equal.

    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)