[mlir][python] Make a number of imports relative.
authorStella Laurenzo <stellaraccident@gmail.com>
Fri, 6 Aug 2021 04:10:03 +0000 (04:10 +0000)
committerStella Laurenzo <stellaraccident@gmail.com>
Fri, 6 Aug 2021 07:23:37 +0000 (07:23 +0000)
commit835cbfa8cf6330e31498f751baae3df83eab076a
tree5f057d00393fb8b839a68ad5115a2217a1f4df79
parent2d9af3db79e623d59da4557c2038535f64135402
[mlir][python] Make a number of imports relative.

Avoiding absolute imports allows the code to be relocatable (which is used for out of tree integrations).

Differential Revision: https://reviews.llvm.org/D107617
mlir/python/mlir/dialects/linalg/opdsl/lang/affine.py
mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py
mlir/python/mlir/dialects/linalg/opdsl/lang/config.py
mlir/python/mlir/dialects/linalg/opdsl/lang/dsl.py
mlir/python/mlir/dialects/linalg/opdsl/lang/emitter.py