<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def custom_grad(self, op, *grads):
 """ Passes a gradient op creation request to the correct handler. """

        return op_handlers[op.type](self, op, *grads)