Without a penalty, ACT would think for as long as possible. The ponder cost adds a small price per step, so the network thinks only as long as the extra computation helps.
Implement act_ponder_cost(n_steps, tau), the penalty added to the training loss.
Multiply the step count by the penalty weight.
No results yet
Run your code to check it against the examples, or submit to run every test.