摘要: tensor.repeat和torch.repeat_interleave tensor.repeat() a = torch.tensor([[1,2],[3,4]]) a.repeat((2,1)) 表示在行的维度复制2遍,列维度不变,结果为tensor([[1, 2], [3, 4],[1, 阅读全文
posted @ 2021-05-19 23:22 哈哈哈喽喽喽 阅读(52) 评论(0) 推荐(0)
摘要: 1.需要在git命令窗口生成公私钥 2.在github的profile中添加步骤1生成的公钥即可 阅读全文
posted @ 2021-05-19 00:35 哈哈哈喽喽喽 阅读(199) 评论(0) 推荐(0)