refreshStep method

void refreshStep(
  1. CommandBuffer tape
)

Called once before every replay of an already-compiled tape. Optimizers with no per-step state (SGD) can leave this as a no-op; Adam overrides it to patch its step count.

Implementation

void refreshStep(CommandBuffer tape) {}