[mlir][tosa] Added tosa to linalg lowering to unstrided transposed conv
authorRob Suderman <rob.suderman@gmail.com>
Tue, 20 Jul 2021 22:07:04 +0000 (15:07 -0700)
committerRob Suderman <rob.suderman@gmail.com>
Tue, 20 Jul 2021 22:07:08 +0000 (15:07 -0700)
commit40a02fae87ca7de676f6b9d96532c760130ccc68
tree677f992d7a6e8dcb30eedba084abf241a0966626
parent3b2e40c08e310c5c13432bc2788f5a73285f2767
[mlir][tosa] Added tosa to linalg lowering to unstrided transposed conv

The unstrided transposed conv can be represented as a regular convolution.
Lower to this variant to handle the basic case. This includes transitioning from
the TC defined convolution operation and a yaml defined one.

Reviewed By: NatashaKnk

Differential Revision: https://reviews.llvm.org/D106389
mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir