Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backends/arm/arm_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def vgf_compile_spec(
f"Invalid TOSA version: {tosa_version}"
)

if not ("FP" or "INT" in tosa_profiles):
if "FP" not in tosa_profiles and "INT" not in tosa_profiles:
raise ValueError(
"Arm backend only supports converter-backend for FP or INT. "
f"Invalid TOSA profile: {tosa_profiles}"
Expand Down
Loading