executorch icon indicating copy to clipboard operation
executorch copied to clipboard

rename the print delegate graph api

Open cccclai opened this issue 1 year ago • 1 comments

Summary: The current api name is a bit weird and user will need to call print(print_delegated_graph(graph_module))). Add an api format_delegated_graph which is the same as the original print_delegated_graph. For the original print_delegated_graph api, it just print the string returned from format_delegated_graph

Reviewed By: lucylq

Differential Revision: D56711090

cccclai avatar Apr 29 '24 17:04 cccclai

:link: Helpful Links

:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3398

Note: Links to docs will display an error until the docs builds have been completed.

:white_check_mark: No Failures

As of commit 64e2308d7bd9b97a81df12ce44905df66606fec7 with merge base b00185502a6f9279b34490bb8d5b4c99f0475c92 (image): :green_heart: Looks good so far! There are no failures yet. :green_heart:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

pytorch-bot[bot] avatar Apr 29 '24 17:04 pytorch-bot[bot]