torch.ge(input, other, out=None) 对比每一个input和other是否有如下关系 input ≥ other \text{input} \geq \text{other} input≥other,input和other均为tensor,输出为一个二值tensor。 举例: torch.ge(torch.tensor([[1, 2], [3, 4]]), torch.tensor([[1, 1], [4, 4]]))