Skip to content

Removed duplicate per-backend tf and iree input mlir files. - #2521

Merged
phoenix-meadowlark merged 1 commit into
iree-org:mainfrom
phoenix-meadowlark:input-mlir-dedupe
Jul 23, 2020
Merged

phoenix-meadowlark merged 1 commit into
iree-org:mainfrom
phoenix-meadowlark:input-mlir-dedupe

Conversation

@phoenix-meadowlark

Copy link
Copy Markdown
Contributor

The iree_input__<backend>.mlir files are all identical, and the tf_input__<backend>.mlir files are all identical up to constants in their function names. For example:

<   func @__inference_simple_matmul_70(%arg0: tensor<128x3072xf32> {tf._user_specified_name = "a", tf_saved_model.index_path = [0]}, %arg1: tensor<3072x256xf32> {tf._user_specified_name = "b", tf_saved_model.index_path = [1]}) -> (tensor<128x256xf32> {tf_saved_model.index_path = []}) attributes {tf._input_shapes = [#tf.shape<128x3072>, #tf.shape<3072x256>], tf_saved_model.exported_names = ["simple_matmul"]} {
---
>   func @__inference_simple_matmul_670(%arg0: tensor<128x3072xf32> {tf._user_specified_name = "a", tf_saved_model.index_path = [0]}, %arg1: tensor<3072x256xf32> {tf._user_specified_name = "b", tf_saved_model.index_path = [1]}) -> (tensor<128x256xf32> {tf_saved_model.index_path = []}) attributes {tf._input_shapes = [#tf.shape<128x3072>, #tf.shape<3072x256>], tf_saved_model.exported_names = ["simple_matmul"]} {

@phoenix-meadowlark phoenix-meadowlark added integrations/tensorflow TensorFlow model import and conversion integrations Relating to high-level frontend integrations labels Jul 14, 2020

@silvasean silvasean left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is much simpler and reflects the layering more accurately!

@phoenix-meadowlark
phoenix-meadowlark merged commit 485697d into iree-org:main Jul 23, 2020
@rsuderman rsuderman mentioned this pull request Jul 24, 2020
@phoenix-meadowlark
phoenix-meadowlark deleted the input-mlir-dedupe branch October 6, 2020 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrations/tensorflow TensorFlow model import and conversion integrations Relating to high-level frontend integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants