code: def equal(input, other):
      input, other = torch_frontend.promote_types_of_torch_inputs(
          input, other
      )
      return ivy.all(ivy.equal(input, other))
  
imports: import ivy
  import ivy.functional.frontends.torch
  from ivy.func_wrapper import with_unsupported_dtypes
  from ivy.functional.frontends.torch.func_wrapper import to_ivy_arrays_and_back
  from collections import namedtuple
label_desc: Use image node_id 6 for calling a global function with example usage: equal(input, other) and returns: ivy