Combining arrays of images into a single array

Within the fourth course, we store image in an array of shape

(m, n_h, n_w, n_c)

suppose I have two set of 100 and 200 RGB images

array 1 (100, 32, 32, 3)
array 2 (200, 32, 32, 3)

what numpy or tensorflow function are available to combine them into one array of shape for further use?

(300, 32,32, 3)

Try numpy “concatenate”.

[how to combine tensorflow arrays - Google Search]

First result

[tf.concat  |  TensorFlow Core v2.7.0]

EDIT: Someone flagged this post for violating the community guidelines. Maybe it was perceived as a microaggression against people who use a different search engine? My bad.

Are you feeling lucky today? :laughing: Or in SNL Weekend Update style: “Our top story tonight: google can find stuff!”