Rename 'pyiree' to 'iree' (#5145)
Renames all non-BUILD references to `pyiree` (`BUILD` files are changed in
an internal patch). Simplifies the imports in some places to be more consistent.
Also deletes some old test files that use the old API and enables the tests for
`iree.tf.support`.
diff --git a/colab/mnist_training.ipynb b/colab/mnist_training.ipynb
index 35ad60f..d2b3e9d 100644
--- a/colab/mnist_training.ipynb
+++ b/colab/mnist_training.ipynb
@@ -137,9 +137,9 @@
}
},
"source": [
- "from pyiree import rt as ireert\n",
- "from pyiree.tf.support import module_utils\n",
- "from pyiree.compiler import tf as tfc"
+ "from iree import rt as ireert\n",
+ "from iree.tf.support import module_utils\n",
+ "from iree.compiler import tf as tfc"
],
"execution_count": 3,
"outputs": []
@@ -551,8 +551,8 @@
"2021-01-14 19:46:23.147528: I external/org_tensorflow/tensorflow/cc/saved_model/bundle_v2.cc:55] Reading SavedModel debug info (if present) from: /tmp/tmprccz86q3.sm\n",
"2021-01-14 19:46:23.175245: W external/org_tensorflow/tensorflow/compiler/mlir/tensorflow/translate/import_model.cc:1795] Unmodelled op type `StaticRegexFullMatch` is not stateful but will be treated as such conservatively\n",
"2021-01-14 19:46:23.175427: W external/org_tensorflow/tensorflow/compiler/mlir/tensorflow/translate/import_model.cc:1795] Unmodelled op type `SaveV2` is stateful but effects not modelled\n",
- "Created IREE driver dylib: <pyiree.rt.binding.HalDriver object at 0x7fb5afc56d18>\n",
- "SystemContext driver=<pyiree.rt.binding.HalDriver object at 0x7fb5afc56d18>\n"
+ "Created IREE driver dylib: <iree.rt.binding.HalDriver object at 0x7fb5afc56d18>\n",
+ "SystemContext driver=<iree.rt.binding.HalDriver object at 0x7fb5afc56d18>\n"
],
"name": "stderr"
}