1
0
PytorchTutorials/working_install_test.py
Nigel Barink 872947e867 QuickStart Model Tutorial Finished
Finished up first neural network tutorial with pytorch
2023-03-28 20:58:08 +02:00

7 lines
121 B
Python

import torch
x = torch.rand(5,3)
print("Random Tensor data: ", x)
print("Cuda available: ", torch.cuda.is_available())