How to assess mean inference time using the Trainer.test?

Hi,

I am interested in assessing the mean inference time per batch on the test set using the pytorch lightening framework. Is there a handy way to do that? (Haven’t seen a solution on Google)

Thanks!

Matthieu