docs.unity.cn
    Show / Hide Table of Contents

    Enum Layer.Activation

    Activation enum

    Namespace: Unity.Barracuda
    Syntax
    public enum Activation

    Fields

    Name Description Value
    None

    None


    0
    Relu

    Relu


    1
    Softmax

    Softmax


    2
    Tanh

    Tanh


    3
    Sigmoid

    Sigmoid


    4
    Elu

    Elu


    5
    Relu6

    Relu6


    6
    LeakyRelu

    LeakyRelu


    7
    Selu

    Selu


    8
    Swish

    Swish


    9
    LogSoftmax

    LogSoftmax


    10
    Softplus

    Softplus


    11
    Softsign

    Softsign (not yet implemented)


    12
    PRelu

    PRelu


    13
    Hardmax

    Hardmax (not yet implemented)


    20
    HardSigmoid

    HardSigmoid


    21
    Abs

    Abs


    100
    Neg

    Neg


    101
    Ceil

    Ceil


    102
    Clip

    Clip


    103
    Floor

    Floor


    104
    Round

    Round


    105
    Reciprocal

    Reciprocal


    110
    Sqrt

    Sqrt


    111
    Pow

    Pow


    112
    Exp

    Exp


    113
    Log

    Log


    114
    Acos

    Acos


    200
    Acosh

    Acosh


    201
    Asin

    Asin


    202
    Asinh

    Asinh


    203
    Atan

    Atan


    204
    Atanh

    Atanh


    205
    Cos

    Cos


    206
    Cosh

    Cosh


    207
    Sin

    Sin


    208
    Sinh

    Sinh


    209
    Tan

    Tan


    210
    Erf

    Erf


    211
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, July 4, 2023