You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for a lot for this nice package!
I was trying to find the graph for the gradient operation and it does not do anything
from jax import make_jaxpr
import jax
import jpviz
def func(x):
return x**2
print(make_jaxpr(jax.grad(func))(1.0)) # This works and shows a series of ops
dot_graph = jpviz.draw(jax.grad(func), collapse_primitives=False)(1.0)
jpviz.view_pydot(dot_graph) # This shows only a single box!
The text was updated successfully, but these errors were encountered:
Hey,
Thanks for a lot for this nice package!
I was trying to find the graph for the gradient operation and it does not do anything
The text was updated successfully, but these errors were encountered: