torch.eq、torch.ne、torch.gt、torch.lt、torch.ge、torch.le ... 4]]) b=torch.tensor([[1, 2], [4, 3]]) print(torch.eq(a,b))#equals # tensor([[ ...
確定! 回上一頁