评价此页

torch.compiler.list_backends#

torch.compiler.list_backends(exclude_tags=('debug', 'experimental'))[source]#

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

参数

exclude_tags (optional) – 表示要排除的标签的字符串元组。

返回类型

list[str]