Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
Title Here
An short introduction about PyTorch and about the chosen functions.
- torch.zeros
- function 2
- function 3
- function 4
- function 5
!pip install torch numpy --quiet
# Import torch and other required modules
import torch
torch.__version__
'1.7.0+cu101'
Function 1 - torch.tensor (change this)
Add some explanations
# Example 1 - working (change this)
torch.tensor([[1, 2], [3, 4.]])
tensor([[1., 2.],
[3., 4.]])