docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Pow

    Pow(TensorFloat, TensorFloat, TensorFloat)

    Performs an element-wise Pow math operation: f(a, b) = pow(a, b).

    This supports numpy-style broadcasting of input tensors.

    Declaration
    public override void Pow(TensorFloat A, TensorFloat B, TensorFloat O)
    Parameters
    Type Name Description
    TensorFloat A

    The first input tensor.

    TensorFloat B

    The second input tensor.

    TensorFloat O

    The output tensor to be computed and filled.

    Overrides
    CPUBackend.Pow(TensorFloat, TensorFloat, TensorFloat)

    Pow(TensorFloat, TensorInt, TensorFloat)

    Performs an element-wise Pow math operation: f(a, b) = pow(a, b).

    This supports numpy-style broadcasting of input tensors.

    Declaration
    public override void Pow(TensorFloat A, TensorInt B, TensorFloat O)
    Parameters
    Type Name Description
    TensorFloat A

    The first input tensor.

    TensorInt B

    The second input tensor.

    TensorFloat O

    The output tensor to be computed and filled.

    Overrides
    CPUBackend.Pow(TensorFloat, TensorInt, 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)