I have a dict containing np.array of different shapes:
d = {
"a" : np.array([1, 2, 3]), # shape (3,)
"b" : np.array([4]), # shape (1,)
"c" : np.array([[5, 6, 7], [8, 9, 10]]) # shape (2, 3)
}
Now I want to append them to form a vector, like this:
output = np.array([1,2,3,4,5,6,7,8,9,10])
How can I do that?