torch.cuda.nvtx.mark¶ torch.cuda.nvtx.mark(msg)[原始碼][原始碼]¶ 描述在某個時間點發生的瞬時事件。 引數 msg (str) – 與事件關聯的 ASCII 訊息。