Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Tensors - PyTorch with GPU Series Part 2

Samuel Chan via YouTube

Overview

Explore the fundamentals of tensors in this 29-minute video tutorial, part of the PyTorch with GPU series. Discover four different methods for initializing tensors in PyTorch, learn how to move tensors to CUDA/GPU, and master various tensor operations including arithmetic, slicing, and indexing. Gain insights into the shared memory locations between CPU tensors and NumPy arrays, and get introduced to PyTorch's Profiler context manager for performance optimization. Perfect for those looking to enhance their understanding of tensor manipulation and GPU acceleration in PyTorch.

Syllabus

Intro
Initializing a tensor 4 different ways in PyTorch!
Moving pytorch tensor to cuda / gpu
Operations on Tensor arithmetic, slicing, indexing
Tensors on CPU and numpy arrays can share their memory locations!
PyTorch's Profiler context manager

Taught by

Samuel Chan

Reviews

Start your review of Introduction to Tensors - PyTorch with GPU Series Part 2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.