Step-decay learning-rate schedule (C++ StepDecaySchedule): every
interval training steps the learning rate is multiplied by factor.
A network trained with Scheduled calls step after each
weight update, so the rate used by update n (counting from 1) is the initial
rate times factor^((n - 1) / interval), each product rounded as the
value type rounds. An interval of 0 decays after every step, as 1 does.
StepDecay::<Q16_16>::default() and StepDecay::<Q8_8>::default() are
tinymind (C++)’s defaults: interval 1000 and factor 0.9 rounded to the format
(58982/65536 and 230/256). The counts are u32 (C++ size_t), so the
schedule is the same size on a microcontroller and a 64-bit host.