tree: 780810dac86ce5f530ad73c2609bcfed90ef720a [path history] [tgz]
  1. MHLO/
  2. TFL/
  3. Utils/
  4. BUILD.bazel
  5. iree-import-tflite-main.cpp
  6. iree-opt-tflite-main.cpp
  7. README.md
integrations/tensorflow/iree_tf_compiler/README.md

This directory should be the only one in IREE that pulls a dependency on tf dialect and related dialects.

Tools

Production Tools

iree-import-tf

iree-import-tf provides a single entry-point for compiling TensorFlow saved models to “IREE Input Dialects” that can be fed to iree-compile or iree-opt and operated on further.

Usage

iree-import-tf /path/to/saved_model_v2
# Optional args: --tf-savedmodel-exported-names=subset,of,exported,names

iree-import-tf /path/to/saved_model_v1 --tf-import-type=savedmodel_v1
# Optional args:
#   --tf-savedmodel-exported-names=subset,of,exported,names
#   --tf-savedmodel-tags=serving