initializer = new LeCun(); } /** * @test */ public function build() : void { $this->assertInstanceOf(LeCun::class, $this->initializer); $this->assertInstanceOf(Initializer::class, $this->initializer); } /** * @test */ public function initialize() : void { $w = $this->initializer->initialize(4, 3); $this->assertInstanceOf(Matrix::class, $w); $this->assertEquals([3, 4], $w->shape()); } }