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)
Returns the number of threads used for inter-op parallelism on CPU (e.g. in JIT interpreter)