torch.cuda.nvtx.range_push¶ torch.cuda.nvtx.range_push(msg)[源代码][源代码]¶ 将一个范围压入嵌套范围栈中。返回已启动范围的零基深度。 参数 msg (str) – 与范围关联的 ASCII 消息