step method

void step()

Implementation

void step() {
  for (final p in parameters) {
    p.data -= learningRate * p.grad;
  }
}