Thanks albanD
But can I ask you if I want to go inside the center of each raw of the tensor take five elements from left and five from right
i = 0
j = 6
base = feat.szie(0)//2
for i in feat[i, j]:
x = feat[base - 5: base:+5]

i += 1