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
    public override void Mean(TensorFloat[] tensors, TensorFloat O)
    Parameters
    Type Name Description
    TensorFloat[] tensors
    TensorFloat O

    The output tensor to be computed and filled.

    Overrides
    CPUBackend.Mean(TensorFloat[], TensorFloat)
    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)