torch.cuda.nvtx.range_push
-
torch.cuda.nvtx.range_push(msg)[source] -
Помещает диапазон в стек вложенных диапазонов. Возвращает глубину начатого диапазона, отсчитываемую с нуля.
- Параметры:
-
msg (str) – ASCII-сообщение, связанное с диапазоном
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.cuda.nvtx.range_push.html