a.shape [0] is the number of rows in a, a.shape [1] is the number of columns (col), and a.shape [2] is the number of channels.
Recommended Posts