Jun-18-2020, 08:08 PM
(Jun-18-2020, 07:31 PM)Truman Wrote: smth doesn't work well.because in the example
x = np.array([[[1],[2],[3]], [[4],[5],[6]]])
. that is 3D arrayimport numpy as np x = np.array([[[1],[2],[3]], [[4],[5],[6]]]) print(x[:,np.newaxis,:,:].shape)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs