I want to make three dimension np (50, 917, 100) finally.
Now,I have variable sentence which has two dimention less than 917.
ex)
(812,100),(917,100),(250,100),(240,100),(560,100),,,,
So, I want to stack these variables to np variable and 0 padding where shorter..
res = np.zeros((50,917,100)) # Initialize the empty numpy
print(res.shape)
for sentence in all_sentences: # len(all_sentences) = 50
res.append(sentence) #but it is wrong.
How can I do this ???