Shortcuts

torch.__config__

torch.__config__.show()[源代码]

返回一个包含PyTorch配置描述的人类可读字符串。

torch.__config__.parallel_info()[源代码]

返回包含并行化设置的详细字符串