def vet_cost_function_gradient(*args, **kwargs):
    """
    Compute the vet cost function gradient.
    See :py:func:`vet_cost_function` for more information.
    """
    kwargs["gradient"] = True
    return vet_cost_function(*args, **kwargs)
Compute the vet cost function gradient.
See :py:func:`vet_cost_function` for more information.
pysteps/motion/vet.py