torch.get_num_interop_threads
-
torch.get_num_interop_threads() → int
-
Returns the number of threads used for inter-op parallelism on CPU (e.g. in JIT interpreter)
© 2019 Torch Contributors
Licensed under the 3-clause BSD License.
https://pytorch.org/docs/1.8.0/generated/torch.get_num_interop_threads.html