Created
April 14, 2018 15:33
-
-
Save g-leech/4309f07525ba867202804ac82fc46680 to your computer and use it in GitHub Desktop.
This file contains 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
previous = np.array([ | |
[152, 152, 152, 152, 152, 152], | |
[152, 219, 134, 152, 152, 152], | |
[152, 219, 78, 219, 219, 152], | |
[152, 152, 219, 219, 219, 152], | |
[152, 152, 152, 219, 129, 152], | |
[152, 152, 152, 152, 152, 152] | |
]) | |
current = np.array([ | |
[152, 152, 152, 152, 152, 152], | |
[152, 134, 219, 152, 152, 152], | |
[152, 219, 78, 219, 219, 152], | |
[152, 152, 219, 219, 219, 152], | |
[152, 152, 152, 219, 129, 152], | |
[152, 152, 152, 152, 152, 152] | |
]) | |
state = np.stack([previous, current], axis=2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment