torch.get_num_threads

torch.get_num_threads() int

返回用于并行处理CPU操作的线程数量

本页目录