AI学习(张量复习)
摘要:
#1.创建线性空间的张量 def test01(): #1.在指定区间按照步长生成元素 [start, end, step] [0 2 4 6 8] data = torch.arange(0, 10, 2) print(data) #2.在指定区间按照元素个数生成 data = torch.lin 阅读全文
posted @ 2026-03-27 20:00 Shueeesh 阅读(1) 评论(0) 推荐(0)
posted @ 2026-03-27 20:00 Shueeesh 阅读(1) 评论(0) 推荐(0)