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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

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,