C1W4L2 - Question regarding the for loop

Sir said that we can’t get rid of the for loop but ,can’t we just stack those matrices to form a 3d matrix or something like a phasor, as we stacked those column vectors into matrices earlier.

Input to a layer is output of the previous layer. How can you do this without a for loop?