Skip to content

Refactor trace_utils and module_utils out of tf_test_utils/tf_utils - #3916

Merged
phoenix-meadowlark merged 2 commits into
iree-org:mainfrom
phoenix-meadowlark:pyiree-support-refactor
Nov 20, 2020
Merged

phoenix-meadowlark merged 2 commits into
iree-org:mainfrom
phoenix-meadowlark:pyiree-support-refactor

Conversation

@phoenix-meadowlark

Copy link
Copy Markdown
Contributor

These files were becoming long catch-alls so I split them up:

  • ModuleCall, Trace and TracedModule are moved from tf_test_utils into trace_utils.
    • compare_traces is removed from Trace and in favor of accessing it from trace_utils.compare_traces.
    • check_same is moved into tf_utils.
  • _FunctionWrapper and CompiledModule (sub)classes are moved into module_utils along with BackendInfo.
  • The tests are split up to match these changes.

@phoenix-meadowlark phoenix-meadowlark added integrations/tensorflow TensorFlow model import and conversion integrations Relating to high-level frontend integrations labels Nov 19, 2020
@google-cla google-cla Bot added the cla: yes label Nov 19, 2020
@phoenix-meadowlark
phoenix-meadowlark merged commit c78af04 into iree-org:main Nov 20, 2020
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.

2 participants