Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: