Created
August 21, 2019 13:04
-
-
Save rpalo/1c722dabf655ed36ece9a2cc49dfea4d 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
testing = testing.reshape((75, 4, 1)) | |
# This is equivalent to doing: | |
testing = np.expand_dims(testing, axis=2) | |
# Or even: | |
testing = testing[:, :, np.newaxis] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment