Skip to content

Usage and Implementation of InTracing and RetainGraph in MLX (transform_impl.h) #1965

Closed Answered by awni
Zijie-Tian asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to visualize a compute graph use export_to_dot. There are other function sin that file which can help print the graph.

The InTracing struct doesn't have to do with printing graphs. That is more so an operation / eval know if they are being called during a transformation.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Zijie-Tian
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants