Tensor slice in pytorch?
Is there any function that behaves similarly to the function of tf.slice in pytorch?
gaoking132
jekbradbury
I just found a similar post regarding using indexing to slice a tensor. So my question is “Is index slicing same as using narrow function?” Thanks
gaoking132
fmassa
Thanks. This is what I mean.
gaoking132
Please let me know if I am doing something wrong
Rohit_Keshari
so, how do we slice the tensor become patches using narrow?
nicozhou