Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir] Added verification check for linalg.conv to ensure memrefs are…
… of rank > 2 linalg.conv does not support memrefs with rank smaller than 3 as stated here: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/nn/convolution However it does not verify it and thus crashes with "LLVM ERROR: out of memory" error for 1D case and "nWin > 0 && "expected at least one window dimension"" assertion for 2D case. This commit adds check for that in the verification method. Differential Revision: https://reviews.llvm.org/D84317
- Loading branch information