ActivationFunctions

Objective-C

NS_ENUM(int, ActivationFunctions) {
    IDENTITY = 0,
    SIGMOID_SYM = 1,
    GAUSSIAN = 2,
    RELU = 3,
    LEAKYRELU = 4
}

Swift

enum ActivationFunctions : Int32
  • Declaration

    Objective-C

    IDENTITY = 0

    Swift

    case IDENTITY = 0
  • Declaration

    Objective-C

    SIGMOID_SYM = 1

    Swift

    case SIGMOID_SYM = 1
  • Declaration

    Objective-C

    GAUSSIAN = 2

    Swift

    case GAUSSIAN = 2
  • Declaration

    Objective-C

    RELU = 3

    Swift

    case RELU = 3
  • Declaration

    Objective-C

    LEAKYRELU = 4

    Swift

    case LEAKYRELU = 4