revised some code examples

This commit is contained in:
Aladdin Persson
2021-03-24 21:57:40 +01:00
parent 74597aa8fd
commit e6c7f42c46
4 changed files with 90 additions and 117 deletions

View File

@@ -11,6 +11,9 @@ But also other things such as setting the device (GPU/CPU) and converting
between different types (int, float etc) and how to convert a tensor to an
numpy array and vice-versa.
Programmed by Aladdin Persson
* 2020-06-27: Initial coding
"""
import torch