mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-11 16:15:50 +00:00
16 lines
220 B
PHP
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;
|
|
}
|