Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Frontend][Relay][Keras] Fix concatenate convert function in axis parsing #15175

Merged
merged 16 commits into from
Jul 1, 2023
Prev Previous commit
Update keras.py
jikechao authored Jun 30, 2023
commit 0710414d1272d02ae681e8c64adb8baf2fa0ba70
2 changes: 1 addition & 1 deletion python/tvm/relay/frontend/keras.py
Original file line number Diff line number Diff line change
@@ -957,7 +957,7 @@ def _convert_concat(

axis = keras_layer.axis
dims = len(input_shape[0])
if data_layout == "NCHW": # need_transpose
if data_layout == "NCHW": # need_transpose
if axis == -1:
axis = 1
else: