評價此頁

torch.compiler.list_backends#

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

返回可以傳遞給 torch.compile(…, backend=”name”) 的有效字串。

引數

exclude_tags (optional) – 表示要排除的標籤的字串元組。

返回型別

list[str]