Event documentation for more info.
wait(stream=None)
  Makes all future work submitted to the given stream wait for
  this event.

  Use "torch.cuda.current_stream()" if no stream is specified.

  Note:

    This is a wrapper around "cudaStreamWaitEvent()": see CUDA
    Event documentation for more info.
