mirror of https://github.com/llvm/torch-mlir
298eeb79ca
The view op allows for the new shape argument to have a -1 value for one of the dimensions, and the op is expected to deduce the size of that dimension by looking at the sizes of the other dimensions and comparing it to the total number of elements in the original tensor. This commit adds this functionality. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TorchToLinalg.cpp |