Skip to content

Instantly share code, notes, and snippets.

@aoirint
Created February 11, 2018 05:24
Show Gist options
  • Save aoirint/080388d3965cdd7b5c7e293559ae166b to your computer and use it in GitHub Desktop.
Save aoirint/080388d3965cdd7b5c7e293559ae166b to your computer and use it in GitHub Desktop.
import numpy as np
set([ tuple(set(t)) for t in [ (n, m) for c in np.random.permutation(len(M)) for e in np.random.permutation(len(N)) ] ])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment