mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-09-27 14:39:02 +00:00
23 lines
346 B
PHP
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;
|
|
}
|