Tensor Math Operations - Deep Learning with PyTorch 4

Опубликовано: 28 Сентябрь 2024
на канале: Codemy.com
12,773
344

In this video we'll look at basic Tensor Math Operations for Deep learning with PyTorch.

We'll look at regular math like Addition, Subtraction, Multiplication, Division, Remainders (Modulus), and Exponents.

I'll show you some shorthand as well as the actual functions for each.

I'll also show you a neat underscore trick for reassigning the outcome of out math.

#pytorch #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:31 - Create Two Tensors
2:08 - Tensor Addition
4:00 - Tensor Subtraction
4:52 - Tensor Multiplication
5:41 - Tensor Division
6:30 - Tensor Modulus Remainder
7:37 - Tensor Exponents
8:44 - Another Way To Write Math Functions
9:20 - Tensor Math Reassignment
11:45 - Conclusion