h = numpy.zeros((2,2,2))
What is the last 2 for? Is it creating a multidimensional array or something?
Output:
array([[[ 0., 0.],
[ 0., 0.]],
[[ 0., 0.],
[ 0., 0.]]])
If it is creating number of copies, then what is happening when i do the following?
h = numpy.zeros((2,2,1))
Output:
array([[[ 0.],
[ 0.]],
[[ 0.],
[ 0.]]])
I understand that it is getting filled by zeros, and the first two values are specifying the row and column, what about the third? Thank you in advance. And I tried Google, but I could not word my questions.