评价此页

torch.config#

创建于: 2019年4月9日 | 最后更新于: 2025年6月13日

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

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

返回类型

str

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

返回关于并行化设置的详细字符串

返回类型

str