Click or drag to resize
Accord.NET (logo)

DistanceLayer Constructor

Initializes a new instance of the DistanceLayer class.

Namespace:  Accord.Neuro
Assembly:  Accord.Neuro (in Accord.Neuro.dll) Version: 3.8.0
Syntax
public DistanceLayer(
	int neuronsCount,
	int inputsCount
)
Request Example View Source

Parameters

neuronsCount
Type: SystemInt32
Layer's neurons count.
inputsCount
Type: SystemInt32
Layer's inputs count.
Remarks
The new layet is randomized (see Randomize method) after it is created.
See Also