Gradient accumulation: should I duplicate data?

Could you link to the exact notebook where you have seen this?