Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Phpml\NeuralNetwork\Layer Class Reference

Public Member Functions

 __construct (int $nodesNumber=0, string $nodeClass=Neuron::class, ?ActivationFunction $activationFunction=null)
 
 addNode (Node $node)
 
 getNodes ()
 

Constructor & Destructor Documentation

◆ __construct()

Phpml\NeuralNetwork\Layer::__construct ( int $nodesNumber = 0,
string $nodeClass = Neuron::class,
?ActivationFunction $activationFunction = null )
Exceptions
InvalidArgumentException

Member Function Documentation

◆ getNodes()

Phpml\NeuralNetwork\Layer::getNodes ( )
Return values
Node[]

The documentation for this class was generated from the following file: