step abstract method

void step()

Performs a single optimization step (parameter update).

Subclasses must implement this method to define their specific update rule (e.g., the standard gradient descent update, or the more complex Adam update).

Implementation

void step();