Does torch function call 'cudaEventRecord' internally?

I am currently using the RTX Quadro 6000 for the DNN provided by torchvision.

When I got the profile result with nsight system from NVIDIA , I found that ‘cudaEventRecord’ that I didn’t call was called.

Are these calls automatically called by the torch function?