SIGN IN SIGN UP

Pass the enable_module_hierarchy flag E2E (#1444)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/1444

This flag was added in the previous diff to make the visualization more parsable for smaller graphs that don't really need collapsing based on module hierarchy. This diffs adds it to APIs and the main function of lib.py. Also added it to Inspector class because it internally it generates graphs from etrecord and needs this flag.

Reviewed By: tarun292

Differential Revision: D52282124

fbshipit-source-id: efc22fbf9a8a677341e5d29ae8d8d9d63de09709
O
Olivia Liu committed
16d50219eddb32e46b3041ceff2ff87a13336fd2
Parent: e457d5f
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 12/19/2023, 10:20:38 PM