Is there a benefit/downside to converting a Python float to a Pytorch Tensor? Does it make a difference for speed and/or device placement?
a = torch.Tensor([1.])

# option A 
b = a + 2. 

# option B
c = a + torch.Tensor([2.])