public function feed(Matrix $input) : Matrix
    {
        $input = $this->input->forward($input);

        foreach ($this->hidden as $hidden) {
            $input = $hidden->forward($input);
        }

        return $this->output->forward($input);
    }