How to measure time in PyTorch

Thank you!
But does profiler perform synchronization during time measurement?

1 Like