Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: