Event
class torch.cuda.Event(enable_timing=False, blocking=False, interprocess=False)
Wrapper around a CUDA event.
CUDA events are synchronization markers that can be used to monitor
   the device's progress, to accurately measure timing, and to
   synchronize CUDA streams.
The underlying CUDA events are lazily initialized when the event is
   first recorded or exported to another process. After creation, only
   streams on the same device may record the event. However, streams
   on any device can wait on the event.
Parameters:
      * enable_timing (bool, optional) -- indicates if the
        event should measure time (default: "False")
  * **blocking** (*bool**, **optional*) -- if "True", "wait()"
    will be blocking (default: "False")

  * **interprocess** (*bool*) -- if "True", the event can be
    shared between processes (default: "False")

elapsed_time(end_event)
  Returns the time elapsed in milliseconds after the event was
