start.record()
    for i,[batch_image, batch_id_label, batch_pose_label] in enumerate(dataloader):
        
        end.record()
        torch.cuda.synchronize()
        print("time of or loop is ", start.elapsed_time(end))

for just this one line of for loop it gave following time

image.png1622×376 29.3 KB

all the other lines give normal time. Now what should i do in this situation?