Skip to content

Commit

Permalink
[RELAY] Re-wrote the Graph Partitioner to support multiple outputs
Browse files Browse the repository at this point in the history
	*rebased
  • Loading branch information
manupak committed Mar 31, 2020
1 parent cf2d501 commit ed2415f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/relay/test_pass_partition_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def expected():
mod["main"] = create_graph()
ref_mod = expected()
partitioned = transform.PartitionGraph()(mod)
assert relay.analysis.alpha_equal(partitioned, ref_mod)
assert tvm.ir.structural_equal(partitioned, ref_mod, map_free_vars=True)


def test_mixed_single_multiple_outputs():
Expand Down Expand Up @@ -857,7 +857,7 @@ def expected():

ref_mod = expected()
partitioned = transform.PartitionGraph()(mod)
assert relay.analysis.alpha_equal(partitioned, ref_mod)
assert tvm.ir.structural_equal(partitioned, ref_mod, map_free_vars=True)

if __name__ == "__main__":
test_multi_node_compiler()
Expand Down

0 comments on commit ed2415f

Please sign in to comment.