getSamples()); self::assertCount(10, $dataset->getTargets()); } public function testCheckSamplesAndTargetsCountMatch(): void { $this->expectException(InvalidArgumentException::class); new MnistDataset( __DIR__.'/Resources/mnist/images-idx-ubyte', __DIR__.'/Resources/mnist/labels-11-idx-ubyte' ); } }