Update examples.ipynb

This commit is contained in:
Glenn Jocher
2019-08-01 22:44:22 +02:00
committed by GitHub
parent 02b7f2c7d6
commit ae577f51e2
+2 -5
View File
@@ -46,11 +46,8 @@
"import glob\n",
"import torch\n",
"import os\n",
"import matplotlib.pyplot as plt\n",
"%matplotlib inline\n",
"\n",
"from IPython.display import Image \n",
"from IPython.display import clear_output\n",
"from IPython.display import Image, clear_output\n",
"print('PyTorch %s %s' % (torch.__version__, torch.cuda.get_device_properties(0) if torch.cuda.is_available() else 'CPU'))"
],
"execution_count": 39,
@@ -337,4 +334,4 @@
"outputs": []
}
]
}
}