torch.set_default_tensor_type — PyTorch 2.9 documentation

pytorch.org pytorch.org