W3_A1_Ex-2_Layer_sizes_function Error

I am currently working on W3 Neural Networks and Deep Learning course.
I face the below error while working on the Planar Data Classification assignment.
Appreciate some help!

NameError Traceback (most recent call last)
in
----> 1 t_X, t_Y = layer_sizes_test_case()
2 (n_x, n_h, n_y) = layer_sizes(t_X, t_Y)
3 print("The size of the input layer is: n_x = " + str(n_x))
4 print("The size of the hidden layer is: n_h = " + str(n_h))
5 print("The size of the output layer is: n_y = " + str(n_y))

NameError: name ‘layer_sizes_test_case’ is not defined

Please run all the above cells.