Skip to content

Instantly share code, notes, and snippets.

@anyuzx
Last active April 26, 2018 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anyuzx/61af1cf91db2b3a9551f30d18ba75754 to your computer and use it in GitHub Desktop.
Save anyuzx/61af1cf91db2b3a9551f30d18ba75754 to your computer and use it in GitHub Desktop.
def next_batch_nonlinear_map(bs, h, w, anisotropy=True):
# ... same code ...
y.append(np.dot(item, item)) # only changes here
# ... same code ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment