Hi,
You will need to use a cuda kernel if you want to change one value like that based on a pointer.
Another way around this would be to use .index() to get a Tensor containing only the one entry that you want and the use .fill_(1.1f) (that has a kernel already implemented) to fill that Tensor with the value you want.
Would that work for you?