Pytorch The confusion of L-BFGS

I don’t quite understand the meaning of the parameter max_iter of L-BFGS. Is a step mentioned in the document an epoch? The mini-batch method is not used in the code. Why does L-BFGS iterate many times in an epoch?