Skip to content

Instantly share code, notes, and snippets.

@omarsar
Created December 22, 2019 14:10
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 omarsar/39d75fd422d6e80ef003b5fa16ee485f to your computer and use it in GitHub Desktop.
Save omarsar/39d75fd422d6e80ef003b5fa16ee485f to your computer and use it in GitHub Desktop.
## Neural network with 1 hidden layer
layer1 = nn.Linear(1,1, bias=False)
model = nn.Sequential(layer1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment