php-ml/src/Phpml/NeuralNetwork/ActivationFunction.php
2016-08-02 13:07:47 +02:00

16 lines
220 B
PHP

<?php
declare (strict_types = 1);
namespace Phpml\NeuralNetwork;
interface ActivationFunction
{
/**
* @param float|int $value
*
* @return float
*/
public function compute($value): float;
}