Learn practical skills, build real-world projects, and advance your career
Created 4 years ago
Array operations in PyTorch
We will consider some common operations for matrices:
- multiplication
- transpose
- gradient
- eigenvalues, eigenvectors
- least square norm
# Uncomment the command below if PyTorch is not installed
# !conda install pytorch cpuonly -c pytorch -y
# Import torch and other required modules
import torch