code: def diagonal(a, offset=0, axis1=0, axis2=1):
      return ivy.diagonal(a, offset=offset, axis1=axis1, axis2=axis2)
  
label_desc: Use image node_id 1 for calling a global function with example usage: diagonal(a, offset, axis1, axis2) and returns: ivy