docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Mean

    Mean(TensorFloat[], TensorFloat)

    Performs an element-wise Mean math operation: f(x1, x2 ... xn) = (x1 + x2 ... xn) / n.

    This supports numpy-style broadcasting of input tensors.

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

    The input tensors.

    TensorFloat 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)