Skip to content

Simplify module compilation and rename SavedModelTestCase - #2562

Merged
phoenix-meadowlark merged 2 commits into
iree-org:mainfrom
phoenix-meadowlark:module-class-only
Jul 17, 2020
Merged

phoenix-meadowlark merged 2 commits into
iree-org:mainfrom
phoenix-meadowlark:module-class-only

Conversation

@phoenix-meadowlark

Copy link
Copy Markdown
Contributor
  • SavedModelTestCase is renamed to CompiledModuleTestCase, since we have moved away from using SavedModels as inputs to our e2e tests.
  • Now tf_test_utils.compile_module and CompiledModule.create both take a tf.Module subclass as their input. Previously we allowed either a "tf.Module subclass" or a "function which returns a tf.Module subclass instance" to be passed under the name ctor. This also allows us to assume that module_class has a __name__ attribute, which we can use when saving compilation/benchmarking artifacts.

@phoenix-meadowlark phoenix-meadowlark added integrations Relating to high-level frontend integrations integrations/tensorflow TensorFlow model import and conversion and removed cla: yes labels Jul 17, 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.

3 participants