ObjectiveFunction.gradient¶ abstract ObjectiveFunction.gradient(weights)[source]¶ 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.