Created
October 28, 2014 23:37
-
-
Save c-rhodes/12ee674cbf0a9c86cbcb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
# shape (3, 3, 3, 3) | |
l = np.array(range(81)).reshape((3, 3, 3, 3)) | |
for w in range(3): | |
for x in range(3): | |
for y in range(3): | |
for z in range(3): | |
print(l[w][y][x][z], end=" ") | |
print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment