Skip to content

Instantly share code, notes, and snippets.

@123epsilon
Created April 27, 2021 01:54
Show Gist options
  • Save 123epsilon/cd934681acf1306e8f746b1409b7ec86 to your computer and use it in GitHub Desktop.
Save 123epsilon/cd934681acf1306e8f746b1409b7ec86 to your computer and use it in GitHub Desktop.
SimpleGANFunctions
def parabolic_dist(x):
return x*x
def inverse_parabolic_dist(x):
return -(x*x)
def gauss_2d(mu=0, sigma=1):
x = random.gauss(mu, sigma)
y = random.gauss(mu, sigma)
return (x, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment