mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
autofix
This commit is contained in:
parent
cb2877f45c
commit
f47d83a664
|
|
@ -63,7 +63,7 @@ class Neuron {
|
|||
$this->bias = $bias;
|
||||
}
|
||||
|
||||
public function addInput($input, float $weight)
|
||||
public function addInput($input, float $weight) : void
|
||||
{
|
||||
$this->inputs[] = $input;
|
||||
$this->weights[] = $weight;
|
||||
|
|
@ -86,7 +86,6 @@ class Neuron {
|
|||
}
|
||||
|
||||
return $output + $this->bias;
|
||||
|
||||
// return $this->activationFunction($output + $this->bias);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user