Python Shorts - @ operator for matrix multiplication in Numpy and PyTorch

Published: 05 August 2021
on channel: BugBytes
541
15

#python #matmul #numpy #pytorch

In this Python shorts video, we take a look at the @ operator for matrix multiplication, introduced in Python 3.5 as a result of PEP-465: https://www.python.org/dev/peps/pep-0...

In the video, we demonstrate the matrix multiplication of two Numpy arrays, and two PyTorch tensors.

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://www.bugbytes.io/posts/
🐦 Twitter:   / bugbytesio