Skip to content

Commit

Permalink
[FIX][RELAX][ONNX] Fix typo in onnx frontend (#17467)
Browse files Browse the repository at this point in the history
Fixed typo in onnx_frontend.py
  • Loading branch information
Husenap authored Oct 16, 2024
1 parent 0c67cd8 commit 02172c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relax/frontend/onnx/onnx_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def base_impl(cls, bb, inputs, attr, params):
else inputs[0].data.numpy()
)
y = (
_np.array(inputs[0].value)
_np.array(inputs[1].value)
if isinstance(inputs[1], relax.PrimValue)
else inputs[1].data.numpy()
)
Expand Down

0 comments on commit 02172c3

Please sign in to comment.