php-ml/src/NeuralNetwork/Network.php
2018-10-28 07:44:52 +01:00

23 lines
346 B
PHP

<?php
declare(strict_types=1);
namespace Phpml\NeuralNetwork;
interface Network
{
/**
* @param mixed $input
*/
public function setInput($input): self;
public function getOutput(): array;
public function addLayer(Layer $layer): void;
/**
* @return Layer[]
*/
public function getLayers(): array;
}