docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Max

    Max(params 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
    public TensorFloat Max(params TensorFloat[] tensors)
    Parameters
    Type Name Description
    TensorFloat[] tensors

    The input tensors.

    Returns
    Type Description
    TensorFloat

    The computed output tensor.

    Max(params 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
    public TensorInt Max(params TensorInt[] tensors)
    Parameters
    Type Name Description
    TensorInt[] tensors

    The input tensors.

    Returns
    Type Description
    TensorInt

    The computed output tensor.

    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)