Phpml\NeuralNetwork\Node\Input::setInput PHP Method

setInput() public method

public setInput ( float $input )
$input float
    public function setInput(float $input)
    {
        $this->input = $input;
    }

Usage Example

Example #1
0
 public function testSetInput()
 {
     $input = new Input();
     $input->setInput($value = 6.9);
     $this->assertEquals($value, $input->getOutput());
 }