torch.compiler.list_backends¶ torch.compiler.list_backends(exclude_tags=('debug', 'experimental'))[源][源]¶ 返回可傳遞給 torch.compile(…, backend=”name”) 的有效字串。 引數 exclude_tags (可選) – 表示要排除的標籤的字串元組。 返回型別 列表[字串]