update() публичный Метод

public update ( array $gradient )
$gradient array
Пример #1
0
 public function testStep()
 {
     $schedule = new Adam(0.01, 1.0E-8, 0.9, 0.999);
     $schedule->update([5.0]);
     $schedule->update([5.0]);
     static::assertEquals(0.0019999999959999857, $schedule->step(0));
 }