public function roundtrip(Labeled $batch) : float
    {
        $input = Matrix::quick($batch->samples())->transpose();

        $this->feed($input);

        return $this->backpropagate($batch->labels());
    }