#Tensor Datatypes
Tensors can also be created with specific data types. This is useful when you need to work with different precision levels. By default, PyTorch tensors are created with the torch.float32 datatype unless specified otherwise. You can create tensors with other data types to control precision or memory usage.
Here, torch.tensor([...], dtype=...) allows you to specify the data type of the tensor elements.
