@Backend._assert_backend_available
def compute_gradient(self, function, arguments):
    'Returns a compiled function computing the gradient of ``function``\n        with respect to ``arguments``.\n        '
    if (len(arguments) == 1):
        (argument,) = arguments
        gradient = T.grad(function, argument)
        return self._compile_function_without_warnings(arguments, gradient)
    gradient = T.grad(function, arguments)
    return self._compile_function_without_warnings(arguments, gradient)
Returns a compiled function computing the gradient of ``function``
with respect to ``arguments``.
@Backend._assert_backend_available
def compute_gradient(self, function, arguments):
    'Returns a compiled function computing the gradient of ``function``\n        with respect to ``arguments``.\n        '
    if (len(arguments) == 1):
        (argument,) = arguments
        gradient = T.grad(function, argument)
        return self._compile_function_without_warnings(arguments, gradient)
    gradient = T.grad(function, arguments)
    return self._compile_function_without_warnings(arguments, gradient)