Label Pattern Partitions (#5627)
authorMatthew Brookhart <mbrookhart@octoml.ai>
Thu, 21 May 2020 00:28:43 +0000 (17:28 -0700)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 00:28:43 +0000 (09:28 +0900)
commitc94e6ba4b3b3cc117d898cb22883fb2a33d5c9a7
tree9193f5705d4cb564ff2ab0b18b5c9325a524dbcb
parent15f3ce324ed50d43670d2db2c3d217a358c842b0
Label Pattern Partitions (#5627)

* Label Pattern Partitions with a default label to prevent nested partitions and an optional user supplied-label

* Add node names in topological order to Partitioned attribute

* respond to review comments

* move partition tag into const in attr namespace
include/tvm/relay/function.h
python/tvm/relay/dataflow_pattern/__init__.py
src/relay/ir/dataflow_matcher.cc
tests/python/relay/test_dataflow_pattern.py