I want to reshape one array using other array.
Say I have array_1, whose shape is (5, 1), e.g.:
>>> array_1
array([[ 0.33333333],
[ 0.36666667],
[ 0.16666667],
[ 0.06666667],
[ 0.06666667]]
and array_2, whose shape is (1, 5). I want to reshape array_1 so that it gets the shape of array_2. The shape of array_2 can change every time I run the code.