# Compute and display gradient with w initialized to zeroes

I am facing an issue in graded assignment where to check my implementation of the compute_gradient function with two different initializations of the parameters 𝑤
, 𝑏. This is supposed to be a non-editable cell. Error message: ValueError: not enough values to unpack (expected 2, got 1)

Compute and display gradient with w initialized to zeroes

initial_w = 0
initial_b = 0

tmp_dj_dw, tmp_dj_db = compute_gradient(x_train, y_train, initial_w, initial_b)
print(‘Gradient at initial w, b (zeros):’, tmp_dj_dw, tmp_dj_db)

compute_gradient_test(compute_gradient)

There is an error in your compute_gradient() function. The error is being detected by the cell that tests your code.