repeat 相当于一个broadcasting的机制. repeat(*sizes). 沿着指定的维度重复tensor。不同与expand(),本函数复制的是tensor中的数据。 import torch.
確定! 回上一頁