torch.cuda.nvtx.range_push¶ torch.cuda.nvtx.range_push(msg)[原始碼][原始碼]¶ 將一個範圍壓入巢狀範圍棧中。返回已啟動範圍的零基深度。 引數 msg (str) – 與範圍關聯的 ASCII 訊息