Hi,
I am afraid Tensors are seen as “elementary” objects from the point of view of the autograd and you can only control if the whole Tensor requires grad or not.
Note though that if some values are “constant” in there, they will get a gradient of 0 though so that should still give you the result you’re looking for no?