返回一个填充了标量值1的张量,其大小与之相同input。torch.ones_like(input)相当于。torch.ones(input.size(), dtype=input.dtype, ...
確定! 回上一頁