By using the output of the following code in the flow of the model.
torch.tensor(existing_tensor)
existing_tensor.item()
existing_tensor.detach()
torch.argmax(existing_tensor)
torch.max(existing_tensor).indices # .value works
existing_tensor[n] = k
existing_tensor.int() #.long()