摘要:
一、Broadcast自动扩展 Expand和unsquee的结合,习惯性行是高维度,列是低维度 example: 小维度指定,大维度随意 二、拼接与拆分 Cat Stack:增加新的维度 Split(按照长度进行拆分) Chunk(按照数量进行拆分) torch.stack torch.stack 阅读全文
posted @ 2020-01-07 15:48
雪隐lys
阅读(932)
评论(0)
推荐(0)
摘要:
一、张量数据类型 1.1 pytorch与python数据类型对比 python pytorch Int IntTensor of size() float FloatTensor of size() Int array IntTensor of size [d1,d2,…] Float array 阅读全文
posted @ 2020-01-07 15:30
雪隐lys
阅读(518)
评论(0)
推荐(0)

浙公网安备 33010602011771号