Replies: 1 comment
-
The output of the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm experiencing an issue with the
mx.grad
function in the mlx library. My goal is to use automatic differentiation feature for a project, but I'm encountering a ValueError when I attempt to execute the following code:The error message I receive is:
I'm not sure why the output shape and the cotangent shape are not matching. Could this be a bug, or am I possibly misusing the mx.grad function? Any guidance on how to resolve this issue would be greatly appreciated.
Thank you for your assistance.
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions