该偏移量即通过stride计算,被取数据对应轴的index与对应轴的stride相乘求和即可,如x[1,1 ... torch.cat(tensors, dim=0, *, out=None) → Tensor.
確定! 回上一頁