Loading

摘要: 向量的属性 x = torch.arange(4) print(x) print(x[3]) print(len(x)) print(x.shape) tensor([0, 1, 2, 3]) tensor(3) 4 torch.Size([4]) 一些简单的属性 矩阵的转置 A = torch.a 阅读全文
posted @ 2023-07-21 15:14 mostimali 阅读(26) 评论(0) 推荐(0) 编辑