torch-mlir/lib/Conversion/TCFToTCP
Sean Silva 1c7c362e29 [TCP] Replace tcp.matmul with linalg.matmul.
This involved adding a `tcp.splatted` op to splat a dynamically sized
init tensor. See rationale in TCPOps.td docs.

One interesting observation is that when lowering tcf.matmul to
linalg.matmul, we need to both 1) create the error checks and 2)
calculate a shape transfer function to create the init tensors.
Previously, 2) was deferred to bufferizing tcp.matmul later. I'm not
sure if this is a conflation of concerns or not. For now, it's not a big
burden.
2020-11-10 18:58:28 -08:00
..
CMakeLists.txt [TCP] Replace elementwise ops with std elementwise ops. 2020-11-10 18:58:28 -08:00
TCFToTCP.cpp [TCP] Replace tcp.matmul with linalg.matmul. 2020-11-10 18:58:28 -08:00