docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LogSoftmax

    LogSoftmax(TensorFloat, TensorFloat, int)

    Computes an output tensor by applying the LogSoftmax activation function along an axis: f(x, axis) = log(Softmax(x, axis)).

    Declaration
    public override void LogSoftmax(TensorFloat X, TensorFloat O, int axis)
    Parameters
    Type Name Description
    TensorFloat X

    The input tensor.

    TensorFloat O

    The output tensor to be computed and filled.

    int axis

    The axis along which to apply the LogSoftmax activation function.

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