torch.compiler.list_backends
- torch.compiler.list_backends(exclude_tags=('debug', 'experimental'))[source][source]
返回可以传递给 torch.compile(…, backend="name")的有效字符串。
- 参数:
exclude_tags(可选)- 表示要排除的标签的字符串元组。
- 返回类型:
list[str]
返回可以传递给 torch.compile(…, backend="name")的有效字符串。
exclude_tags(可选)- 表示要排除的标签的字符串元组。
list[str]