docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PRelu

    PRelu(TensorFloat, TensorFloat, TensorFloat)

    Computes an output tensor by applying the element-wise PRelu activation function: f(x) = x if x >= 0, otherwise f(x) = slope * x.

    Declaration
    public override void PRelu(TensorFloat X, TensorFloat S, TensorFloat O)
    Parameters
    Type Name Description
    TensorFloat X

    The input tensor.

    TensorFloat S
    TensorFloat O

    The output tensor to be computed and filled.

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