torch.unsqueeze(input, dim, out=None). 作用:擴充套件維度. 返回一個新的張量,對輸入的既定位置插入維度1. 注意: 返回張量與輸入張量共享記憶 ...
確定! 回上一頁