Skip to content

Instantly share code, notes, and snippets.

@aballah-chamakh
Created September 24, 2019 20:05
Show Gist options
  • Select an option

  • Save aballah-chamakh/1a1a017e094dfc4219f1cbd7a91306ba to your computer and use it in GitHub Desktop.

Select an option

Save aballah-chamakh/1a1a017e094dfc4219f1cbd7a91306ba to your computer and use it in GitHub Desktop.
np.random.seed(1)
w1 = np.random.normal(scale=0.1,size=(nb_inp,nb_h1))
w2 = np.random.normal(scale=0.1,size=(nb_h1,nb_h2))
w3 = np.random.normal(scale=0.1,size=(nb_h2,nb_out))
b1 = np.zeros(nb_h1)
b2 = np.zeros(nb_h2)
b3 = np.zeros(nb_out)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment