code: def gather(params, indices, axis=-1, batch_dims=0, name=None):
      return ivy.gather(
          params, indices, axis=axis, batch_dims=batch_dims
      )
  
imports: import ivy
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes, with_supported_device_and_dtypes
label_desc: Use image node_id 7 for calling a global function with example usage: gather(params, indices, axis, batch_dims, name) and returns: ivy