Hi,
If you’re more familiar with advanced indexing, for a 2D tensor t2d, t2d.narrow(1, 0, 10) is the same as t2d[:, 0:10] and t2d.narrow(1, 5, 2) is the same as t2d[:, 5:7].
narrow is interesting as for higher dimensionnal tensors, you don’t have to do : for every other dimension. Also narrow() (like select()) will always work inplace: it does not use any extra memory, is very fast and any modification of the narrowed tensor will impact the original one.