torch.Tensor won’t initialize the data using a specific scheme, but rather returns an uninitialized tensor.
Whatever was stored in the RAM before allocating the tensor will be interpreted as the dtype.
I would recommend to initialize your tensors using torch.tensor, torch.ones, etc.