摘要: torch.narrow(input, dim, start, length) → Tensor Returns a new tensor that is a narrowed version of input tensor. The dimension dim is input from star 阅读全文
posted @ 2019-11-14 21:18 琴影 阅读(6351) 评论(0) 推荐(1) 编辑
摘要: repeat(*sizes) → Tensor Repeats this tensor along the specified dimensions. Unlike expand(), this function copies the tensor’s data. WARNING torch.rep 阅读全文
posted @ 2019-11-14 21:01 琴影 阅读(9623) 评论(0) 推荐(0) 编辑
摘要: Students are asked to stand in non-decreasing order of heights for an annual photo. Return the minimum number of students not standing in the right po 阅读全文
posted @ 2019-11-14 20:04 琴影 阅读(349) 评论(0) 推荐(0) 编辑