Shortcuts

torch.get_num_threads

torch.get_num_threads() int

返回用于并行化CPU操作的线程数