Merge the verify_grad and multiple_outputs_numeric_grad