Skip to content

Commit

Permalink
update the json compact function
Browse files Browse the repository at this point in the history
  • Loading branch information
cchung100m committed May 17, 2020
1 parent f327e25 commit 467a324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tvm/ir/json_compact.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def _convert(item, nodes):
"relay.ModulePass": _rename("transform.ModulePass"),
"relay.Sequential": _rename("transform.Sequential"),
# TIR
"Variable": _update_tir_var("tir.Var"),
"SizeVar": _update_tir_var("tir.SizeVar"),
"Variable": [_update_tir_var("tir.Var"), _update_from_std_str("name_hint")],
"SizeVar": [_update_tir_var("tir.SizeVar"), _update_from_std_str("name_hint")],
}
return create_updater(node_map, "0.6", "0.7")

Expand Down

0 comments on commit 467a324

Please sign in to comment.