torch-mlir/test/Dialect
Stella Laurenzo 510f226df2 Expose signature metadata to ops and implement ATenRecognizeKernelsPass pass.
* Two op interfaces, one for querying instance metadata and one for getting static data needed to construct an op from a generic form.
* For torch.generic_kernel ops, metadata is splatted in during capture from Torch (it comes from the op registry, which will work for either device capture or graph import).
* Moved the 'add' out of the generated set so I can experiment on it. It implements the TorchBuildableKernelOpInterface interface which provides its metadata.
* The ATenRecognizeKernelsPass pass generically lowers from a torch.generic_kernel to recognized ops that implement the TorchBuildableKernelOpInterface, handling the various types of transformations that we allow at this stage.
2020-10-26 20:31:45 -07:00
..
ATen Expose signature metadata to ops and implement ATenRecognizeKernelsPass pass. 2020-10-26 20:31:45 -07:00
Basicpy Add remaining pieces to capture full example models. 2020-10-19 22:16:59 -07:00
Numpy Add NumpyPublicFunctionsToTensor pass. 2020-07-08 22:51:54 -07:00
Refback [RefBackend] Use more idiomatic bufferize pattern for TCP. 2020-10-15 20:15:53 -07:00
Refbackrt [RefBackend] Rename Npcomprt dialect to Refbackrt. 2020-10-08 09:07:00 -07:00
TCF [RefE2E] Add support for unary ops exp and tanh 2020-09-24 18:41:30 -07:00
TCP [RefBackend] Use more idiomatic bufferize pattern for TCP. 2020-10-15 20:15:53 -07:00
Torch Expose signature metadata to ops and implement ATenRecognizeKernelsPass pass. 2020-10-26 20:31:45 -07:00