Machine Learning Guide cover image

MLA 005 Shapes and Sizes: Tensors and NDArrays

Machine Learning Guide

00:00

How to Skin a Cat in Numpi

In numpi, there's many ways to skin a cat when dealing with re shaping tensers or transposing or swapping axes. And so we'll talk about a number of these different ways. The general form of this is re numpi dot reshape. That's a general function in numpi that allows you to reshape your tensers any which way. In the gray scale image, s wrap each number in each cell in an array. So now it's a two, 56 by 2, 56 by one tenser. We didn't add any new numbers into these pictures. All we did was wrap the numbers in arays.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app