torch.get_num_interop_threads
-
torch.get_num_interop_threads() → int -
Возвращает количество потоков, используемых для меж-операционной параллельности на процессоре (например, в интерпретаторе JIT).
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.get_num_interop_threads.html