Shortcuts

torch.compiler.list_backends

torch.compiler.list_backends(exclude_tags=('debug', 'experimental'))[源代码]

返回可以传递给 torch.compile(…, backend=”name”) 的有效字符串。

Parameters

exclude_tags可选)——一个字符串元组,表示要排除的标签。

Return type

列表[字符串]

优云智算