Once dictionary_to_vector() converts the dictionary of parameters to a 1D vector(in this case of shape (47,1), on returning it back to a dictionary using vector_to_dictionary(), how does it know where W1 ends and b1 begins and so on. I mean, how does it demarcate between 2 parameters once it’s converted to 1D vector?
vector_to_dictionary
and dictionary_to_vector
are present in gc_utils.py
. Open the file to view the implementation.
1 Like