torch.Tensor.Tensor.greater
Tensor.greater(other: number): Tensor<S, 'bool', Dev>Tensor.greater<O extends Shape>(other: Tensor<O>): Tensor<DynamicShape, 'bool', Dev>Alias for gt. Element-wise greater than comparison.
Parameters
othernumber- The value(s) to compare with
Returns
Tensor<S, 'bool', Dev>– Boolean tensor where true indicates self otherSee Also
- PyTorch torch.greater()
- gt - Canonical name for this operation