mirror of https://github.com/llvm/torch-mlir
ff762100b8
When using custom ops, sometimes PyTorch will insert namespaces to the abstract interpretation function name in the format: `__torch__.{namespace_1}.{namespace_2}...{op_name}`. The extra namespaces are not part of the abstract interpretation function name, so it needs to be removed before generating the library of MLIR snippets of abstract interpretation functions. This commit adds support for removing the namespace information. |
||
---|---|---|
.. | ||
importer/jit_ir | ||
custom_op_shape_dtype_fn.py | ||
lit.local.cfg | ||
smoketest.py |