do you need to return tensor.apply code example Example: tensor get value #print the value of tensor mytensor.item()