Skip to content

Commit

Permalink
Fix incorrect innode being checked (#1273)
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriele Oliaro <goliaro@cs.cmu.edu>
  • Loading branch information
FelixBrakel and goliaro authored Jan 20, 2024
1 parent 75edadc commit 57d1883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/flexflow/torch/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ def is_left_scalar_op(node):
if len(innodes) != 2:
return False
return type(innodes[0]) is float or \
type(innodes[1]) is int
type(innodes[0]) is int

@staticmethod
def is_elemwise_op(node):
Expand Down

0 comments on commit 57d1883

Please sign in to comment.