pytorch int32到int64的转换我正在尝试将一个简单的图像掩码转换为int64 image = np.array([[1, 2], [3, 4]], dtype='int32') transform = Compose([ ...2024-04-28 已阅读: n次