tensor数据类型转换

x = torch.tensor([[1,2],[3,4]])

 

posted @ 2022-03-20 21:37  bH1pJ  阅读(205)  评论(0编辑  收藏  举报