Learn Before
Concept

Tensor Slicing

Tensor slicing is a technique used to select a range of elements, such as a contiguous range of rows, along one or more axes of a tensor. For example, programmatically applying a slice like [1:3][1:3] to a matrix selects its second and third rows.

0

1

Updated 2026-06-13

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L