New util function for getting delegation summary (#2611)
Summary: bypass-github-export-checks bypass-github-pytorch-ci-checks bypass-github-executorch-ci-checks Pull Request resolved: https://github.com/pytorch/executorch/pull/2611 Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph. Original design doc: https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing **Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2 Reviewed By: dbort Differential Revision: D55239751 fbshipit-source-id: 81000953b51d87f6d509a6589685fe677a8eec5b
O
Olivia Liu committed
a19a32bcff0792b7bfab70a5f01a8adb10343a0c
Parent: 66c5fc8
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 3/27/2024, 8:41:17 PM