eq

dragon.vm.torch.eq(
  input,
  other,
  out=None
)[source]

Compute the element-wise equal comparison.

\[\text{out} = (\text{input} == \text{other}) \]
Parameters:
Returns:

dragon.vm.torch.Tensor The output tensor.