Hi all, in section 1.3 in the Optional Assignment, ln[13] comments “#This is a 3 by 3 by 2 array”
I don’t understand why this is called a 3x3x2 instead of a 3x2x3. Each array is 3x2 and then there are 3 of them. Could someone please explain how I’m misreading array formating? Which is length, which is height and which is depth?
I think your question is related to the fact that in the Ex.5 description is mentioned: image – a numpy array of shape (length, height, depth). But the numpy array representing this image has dimensions (depth, height, length).
For example, for the figure from section 1.3, the array will have dimensions (3, 5, 4).