Since we concatenate along the first dimension (axis=0), the dim of X and X_shortcut is (3, 4, 4, 3). You can always add print(X.shape) statements to the code to better understand operations.
Ok thanx that explains the 3 different ararays( 3 diff examples) , however, shouldnt each one them be 4 * 4 shape rather than 2 * 4 shape?
will appreciate if u can explain how the output shape corresponds to 3,4,4,3 as to me they appear 2 rows and 4 columns for each 3 examples
…thanx in advance