Learning AI if You Suck at Math — P4 — Tensors Illustrated (with Cats!)
Daniel Jeffries

Hi! Just wanted to ask, what’s the correct way of slicing a 3D tensor? I cant seem to get the right syntax.

For example:

x_train.shape = (1187, 100, 25)

I would like to get the same matrix of 100 x 25, but using only the [99:1187] layers. Thanks!

Like what you read? Give Francisco Gabriel Mendoza a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.