code: def array_equiv(a1, a2):
      if len(ivy.shape(a1)) < len(ivy.shape(a2)):
          a1 = ivy.broadcast_to(a1, ivy.shape(a2))
      else:
          a2 = ivy.broadcast_to(a2, ivy.shape(a1))
      return ivy.array_equal(a1, a2)
  
file_path: ivy/ivy/functional/frontends/numpy/logic/comparison.py
imports: import ivy
  from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back, inputs_to_ivy_arrays, handle_numpy_casting, handle_numpy_dtype, from_zero_dim_arrays_to_scalar, handle_numpy_out
label_desc: Use image node_id 8 for calling a global function with example usage: array_equiv(a1, a2) and returns: ivy