i can understand how the axes were used to change the dimensions from (3,4,2) to (4,2,3)
arr = np.arange(24)
arr = np.reshape(arr, (3, 4, 2))
print(arr)
print("---------------------------")
transposed = np.transpose(arr, axes=(1, 2, 0))
print(transposed)
print(‘arr shape: {}’.format(arr.shape))
print(‘transposed shape: {}’.format(transposed.shape))