摘要: 定义张量 points = torch.tensor([[1.0, 4.0], [2.0, 1.0], [3.0, 5.0]]) points, points.shape 输出: tensor([[1., 4.], [2., 1.], [3., 5.]]), torch.Size([3, 2]) 张 阅读全文
posted @ 2025-02-19 14:33 ziv80 阅读(33) 评论(0) 推荐(0)