What does `step_size` in `scheduler` depend on?

When I’m using torch.optim.lr_scheduler, it’s necessary to set a step_size to controll the frequency the lr decay by.

For a certain epochs(such as 1000), what is the proper/appropriate step_size should I send to the scheduler?

Is there any rules or tricks here?

Thanks in advance!