tensor.repeat should suit your needs but you need to insert a unitary dimension first. For this we could use either tensor.reshape or tensor.unsqueeze.
確定! 回上一頁