HiddenLayerConfig<N extends num, E> class
The configuration for the hidden layers.
Constructors
-
HiddenLayerConfig(int neurons, bool withBiasNeuron, [ActivationFunction<
N, E> ? activationFunction])
Properties
-
activationFunction
→ ActivationFunction<
N, E> ? -
Activation function of the layer.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- neurons → int
-
Total number of neurons in the layer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- withBiasNeuron → bool
-
final
Methods
-
getActivationFunction<
A extends num, B> (ActivationFunction< A, B> def) → ActivationFunction<A, B> -
Returns the activationFunction or
def
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited