torch.set_default_tensor_type — PyTorch 2.8 documentation

pytorch.org pytorch.org