torch.cuda.nvtx.range_push¶ torch.cuda.nvtx.range_push(msg)[來源][來源]¶ 將範圍推入巢狀範圍跨度的堆疊。傳回已啟動範圍的從零開始的深度。 參數 msg (str) – 要與範圍相關聯的 ASCII 訊息