ObjectiveFunction.gradient¶ abstract ObjectiveFunction.gradient(weights)[स्रोत]¶ Computes gradients of this objective function given weights. मापदण्ड weights (ndarray) -- an array of weights to be used in the objective function. प्रदत्त प्रकार ndarray प्रदत्त Gradients of the function.