Closed
Description
Description
When grad fails because a specific Op doesn't support it it's quite difficult to figure out which one it was without jumping on an interactive debugger
We should return something like NotImplementedError(f"grad not implemented for Op {self}")
in a base class.
Or use the grad_not_implemented
functionality that exists for partial grad implementations which also provides a more readable error IIRC