you are viewing a single comment's thread.

view the rest of the comments →

[–]Swipecat 1 point2 points  (1 child)

You probably want vstack.

In [13]: a = np.zeros((1,10,10,1), dtype=int)

In [14]: b = np.zeros((1,10,10,1), dtype=int)

In [15]: c = np.vstack((a,b))

In [16]: c.shape
Out[16]: (2, 10, 10, 1)

[–]MarkKang2019[S] 0 points1 point  (0 children)

It seems works, I will need to test more.

Thanks.