[Bug][Relay] cannot squeeze axis with dimension not equal to 1 at Keras frontend #14869
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
For the LSTM below, when
batch_size != 1
(i.e., the size of first dimension input), compiling will lead to an unexpected crash and throwCheck failed: *axis_ptr == 1 (2 vs. 1) : cannot squeeze axis with dimension not equal to 1
Notice that, when
batch_size ==1
, TVM can run well.Question:
For the LSTM model, why batch_size !=1 leads to a crash?
Compile successfully
Actual behavior
Steps to reproduce
Triage
cc @shingjan
The text was updated successfully, but these errors were encountered: