Dense Constructor (Int32, String, Boolean, String, String)
Initializes a new instance of the Dense class.
Namespace:
SiaNet.Model.LayersAssembly: SiaNet (in SiaNet.dll)
Syntax
Parameters
- dim
- Type: Int32
Positive integer, dimensionality of the output space.
- act
- Type: String
Activation function to use. If you don't specify anything, no activation is applied (ie. "linear" activation: a(x) = x). OptActivations
- useBias
- Type: Boolean
Boolean, whether the layer uses a bias vector.
- weightInitializer
- Type: String
Initializer for the kernel weights matrix. OptInitializers
- biasInitializer
- Type: String
Initializer for the bias vector. OptInitializers