评价此页

torch.config#

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

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

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

返回类型

str

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

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

返回类型

str