Skip to content

Commit

Permalink
Minor fix for type conversion of scalar inputs.
Browse files Browse the repository at this point in the history
* Fixed variable name.
  • Loading branch information
mmanzoorTT committed Nov 27, 2024
1 parent 86f5085 commit 4eba25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_torch/dynamo/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def __call__(self, *inputs):
# Handle scalar inputs.
if not hasattr(input, "dtype"):
assert (
type(a) is not bool
type(input) is not bool
), "Conversion for scalar boolean is not supported."
new_inputs = new_inputs + ((input),)
continue
Expand Down

0 comments on commit 4eba25c

Please sign in to comment.