프로퍼티 | 타입 | 설명 | |
---|---|---|---|
__DefaultInstance | IActivationFunction |
메소드 | 설명 | |
---|---|---|
Calculate ( double x, double auxArgs ) : double |
Calculates the output value for the specified input value and optional activation function auxiliary arguments.
|
|
Calculate ( float x, float auxArgs ) : float |
Calculates the output value for the specified input value and optional activation function auxiliary arguments. This single precision overload of Calculate() will be used in neural network code that has been specifically written to use floats instead of doubles.
|
|
GetRandomAuxArgs ( |
For activation functions that accept auxiliary arguments; generates random initial values for aux arguments for newly added nodes (from an 'add neuron' mutation).
|
|
MutateAuxArgs ( double auxArgs, |
Genetic mutation for auxiliary argument data.
|
public Calculate ( double x, double auxArgs ) : double | ||
x | double | |
auxArgs | double | |
리턴 | double |
public Calculate ( float x, float auxArgs ) : float | ||
x | float | |
auxArgs | float | |
리턴 | float |
public GetRandomAuxArgs ( |
||
rng | ||
connectionWeightRange | double | |
리턴 | double[] |
public MutateAuxArgs ( double auxArgs, |
||
auxArgs | double | |
rng | ||
gaussianSampler | ZigguratGaussianSampler | |
connectionWeightRange | double | |
리턴 | void |