Created
September 26, 2018 03:19
-
-
Save chelseatroy/287ed56d61003f885ebf6f1fb365d7ef to your computer and use it in GitHub Desktop.
sputils check_shape
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
def check_shape(args, current_shape=None): | |
"""Imitate numpy.matrix handling of shape arguments""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment