Skip to content

Commit 02172c3

Browse files
authored
[FIX][RELAX][ONNX] Fix typo in onnx frontend (#17467)
Fixed typo in onnx_frontend.py
1 parent 0c67cd8 commit 02172c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tvm/relax/frontend/onnx/onnx_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def base_impl(cls, bb, inputs, attr, params):
260260
else inputs[0].data.numpy()
261261
)
262262
y = (
263-
_np.array(inputs[0].value)
263+
_np.array(inputs[1].value)
264264
if isinstance(inputs[1], relax.PrimValue)
265265
else inputs[1].data.numpy()
266266
)

0 commit comments

Comments
 (0)