Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
PyTorch Functions
This post is the first in a series of tutorials on building deep learning models with PyTorch, an open source neural networks library developed and maintained by Facebook. Check out the full series:
Basic Functions
torch.zeroes()
torch.mul()
torch.det()
torch.log()
torch.argmax()
Usually we import PyTorch:
# Uncomment the command below if PyTorch is not installed
# !conda install pytorch cpuonly -c pytorch -y
import torch
import numpy as np