docs.unity3d.com
    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 (not yet implemented)

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023