Skip to content

Commit

Permalink
fix lazy value comparison bug
Browse files Browse the repository at this point in the history
  • Loading branch information
inisis committed Oct 19, 2024
1 parent b3f9742 commit d2e09c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxslim/third_party/onnx_graphsurgeon/ir/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def __eq__(self, other):
if not isinstance(other, LazyValues):
return False

tensor_match = self.tensor.raw_data == other.tensor.raw_data
tensor_match = self.tensor == other.tensor
shape_match = self.shape == other.shape
dtype_match = self.dtype == other.dtype

Expand Down

0 comments on commit d2e09c3

Please sign in to comment.