-
-
Save amankharwal/ac9302cda579d9df25247dd3aa50d166 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inputDim = 1 | |
outputDim = 1 | |
learningRate = 0.01 | |
epochs = 100 | |
model = linearRegression(inputDim, outputDim) | |
if torch.cuda.is_available(): | |
model.cuda() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment