Questions regarding output of compute_gradient()

Please supply a minimal example that reproduces your error message, as described in: