code: def to_dense_array(self, *, native=False):
      if self._format == "coo":
          all_coordinates = self._coo_to_dense_coordinates()
      elif self._format == "csr":
          all_coordinates = self._csr_to_dense_coordinates()
      elif self._format == "csc":
          all_coordinates = self._csc_to_dense_coordinates()
      elif self._format == "bsc":
          all_coordinates = self._bsc_to_dense_coordinates()
      else:
          all_coordinates = self._bsr_to_dense_coordinates()
  
      # make dense array
      ret = ivy.scatter_nd(
          ivy.array(all_coordinates),
          ivy.flatten(self._values),
          ivy.array(self._dense_shape),
      )
      return ret.to_native() if native else ret
  
imports: import ivy
  from ivy.func_wrapper import inputs_to_native_arrays
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 31 for calling the SparseArray obj's underlying member method code with example usage: obj.to_dense_array() and returns: unknown