step method

void step()

Implementation

void step() {
  for (final p in parameters) {
    // Only update if gradient exists
    p.data -= learningRate * p.grad;
      }
}