Tensors of the same index must be on the same device and the same dtype except `step` tensors that can be CPU and float32 notwithstanding

torch.set_default_dtype(torch.float32)
posted @ 2024-11-19 15:27  笨笨和呆呆  阅读(22)  评论(0编辑  收藏  举报