Skip to content

Commit

Permalink
[CI] Fix MLF input and output name map (#13740)
Browse files Browse the repository at this point in the history
This PR fixes error introduced by #13704
  • Loading branch information
mehrdadh authored Jan 10, 2023
1 parent 687ec78 commit d00168f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions python/tvm/micro/model_library_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,12 +468,6 @@ def _export_graph_model_library_format(
input_names = list(inputs.keys())
output_names = list(outputs.keys())

input_name_to_size_map = {
name: property_map["size"] for name, property_map in inputs_sizes.items()
}
output_name_to_size_map = {
name: property_map["size"] for name, property_map in output_sizes.items()
}
generate_c_interface_header(
mod.libmod_name,
input_names,
Expand All @@ -483,8 +477,8 @@ def _export_graph_model_library_format(
devices,
workspace_size,
include_path,
input_name_to_size_map,
output_name_to_size_map,
inputs_sizes,
output_sizes,
)

is_aot = isinstance(mod, executor_factory.AOTExecutorFactoryModule)
Expand Down

0 comments on commit d00168f

Please sign in to comment.