summaryrefslogtreecommitdiff
path: root/mnist.py
diff options
context:
space:
mode:
authorAnthony Wang2021-09-08 23:12:24 +0000
committerAnthony Wang2021-09-08 23:12:24 +0000
commitdee5f5eda2208bebf9ba5be68e8848310f93dc1e (patch)
tree77fdf15e6c89adebc2e20b316a5e9f838827eec6 /mnist.py
parent7b74d95944bf487d60d46ad53fe8fc3e6c6c52b5 (diff)
Get code to work with CoCalc
Diffstat (limited to 'mnist.py')
-rwxr-xr-x[-rw-r--r--]mnist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mnist.py b/mnist.py
index 8ab8614..ea99633 100644..100755
--- a/mnist.py
+++ b/mnist.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
import torch
from torch import nn
from torch.autograd import Variable