File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
py/torch_tensorrt/dynamo/tools Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,19 @@ def opset_coverage(
146
146
)
147
147
148
148
if registry_data is not None :
149
- if DYNAMO_REGISTRY_NAME in registry_data and registry_data [DYNAMO_REGISTRY_NAME ] >= 1 :
149
+ if (
150
+ DYNAMO_REGISTRY_NAME in registry_data
151
+ and registry_data [DYNAMO_REGISTRY_NAME ] >= 1
152
+ ):
150
153
status = SupportStatus .CONVERTED
151
154
support_count += 1
152
- elif (FX_REGISTRY_NAME in registry_data and registry_data [FX_REGISTRY_NAME ] >= 1 ) or (FX_LEGACY_REGISTRY_NAME in registry_data and registry_data [FX_LEGACY_REGISTRY_NAME ] >= 1 ):
155
+ elif (
156
+ FX_REGISTRY_NAME in registry_data
157
+ and registry_data [FX_REGISTRY_NAME ] >= 1
158
+ ) or (
159
+ FX_LEGACY_REGISTRY_NAME in registry_data
160
+ and registry_data [FX_LEGACY_REGISTRY_NAME ] >= 1
161
+ ):
153
162
status = SupportStatus .LEGACY_CONVERTED
154
163
legacy_count += 1
155
164
else :
You can’t perform that action at this time.
0 commit comments