torch-mlir/frontends/pytorch/test/acap_export
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
..
test_export_ResA.py NFC: Use new print with large_elements_limit in tests. 2020-10-22 13:04:24 -07:00
test_export_add3.py Expose signature metadata to ops and implement ATenRecognizeKernelsPass pass. 2020-10-26 20:31:45 -07:00
test_export_batchnorm.py More progress on PyTorch acap device capture. 2020-10-15 21:43:21 -07:00
test_export_conv2d_fwd.py Expose signature metadata to ops and implement ATenRecognizeKernelsPass pass. 2020-10-26 20:31:45 -07:00
test_export_multi_out.py Port prior acap export tests to new dispatcher based versions. 2020-10-13 16:37:46 -07:00