I’m not sure what you mean by “converted to tensor”, but all operations will be executed on the GPU if the tensors are stored on this device as well.
If you would like to transform numpy arrays into Pytorch tensors, you can use torch.from_numpy(array).