docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Max

    Max(TensorFloat[], TensorFloat)

    Performs an element-wise Max math operation: f(x1, x2 ... xn) = max(x1, x2 ... xn).

    This supports numpy-style broadcasting of input tensors.

    Declaration
    void Max(TensorFloat[] inputs, TensorFloat O)
    Parameters
    Type Name Description
    TensorFloat[] inputs

    The input tensors.

    TensorFloat O

    The output tensor to be computed and filled.

    Max(TensorInt[], TensorInt)

    Performs an element-wise Max math operation: f(x1, x2 ... xn) = max(x1, x2 ... xn).

    This supports numpy-style broadcasting of input tensors.

    Declaration
    void Max(TensorInt[] inputs, TensorInt O)
    Parameters
    Type Name Description
    TensorInt[] inputs

    The input tensors.

    TensorInt O

    The output tensor to be computed and filled.

    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)