public enum ActivationFunction extends Enum<ActivationFunction>
| Enum Constant and Description |
|---|
RECTIFIED_HYPERBOLIC_TANGENT |
RECTIFIED_LINEAR_UNIT |
RECTIFIED_SCALED_LOGISTIC_SIGMOID |
| Modifier and Type | Method and Description |
|---|---|
double |
f(double x) |
static ActivationFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivationFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivationFunction RECTIFIED_SCALED_LOGISTIC_SIGMOID
public static final ActivationFunction RECTIFIED_HYPERBOLIC_TANGENT
public static final ActivationFunction RECTIFIED_LINEAR_UNIT
public static ActivationFunction[] values()
for (ActivationFunction c : ActivationFunction.values()) System.out.println(c);
public static ActivationFunction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic double f(double x)
Copyright © 2018. All rights reserved.