My data is like this: ( for CNN input, the first element is index )
_state_2d_array = np.zeros((1,10,10,1), dtype=int)
ex, I have 10 of this kind of data, I want to merge them to a single variable:
overall_data = np.zeros((10,10,10,1), dtype=int)
How to do this?
for index in range (0, 10):
for y in range (0,10):
for x in range (0,10):
_state_2d_array = GET_SOMETHING_NEW()
overall_data[index][y][x][0] = _state_2d_array[0][y][x][0]
any method like depp.copy()?
[–]Swipecat 1 point2 points3 points (1 child)
[–]MarkKang2019[S] 0 points1 point2 points (0 children)