code: def _get_internal_arrays(cls, array):
      if sparse.isspmatrix_coo(array):
          array.sum_duplicates()  # set it to cannonical form
          return (array.data, array.row, array.col)
      elif sparse.isspmatrix_csr(array) or sparse.isspmatrix_csc(array):
          return (array.data, array.indptr, array.indices)
      raise TypeError(
          "NCCL is not supported for this type of sparse matrix"
      )
  
imports: import numpy
  import warnings
  import cupy
  from cupy.cuda import nccl
  from cupyx.distributed import _store
  from cupyx.distributed._comm import _Backend
  from cupyx.scipy import sparse
label_desc: Use image node_id 1 for calling the _SparseNCCLCommunicator obj's underlying member method code with example usage: obj._get_internal_arrays(cls, array) and returns: array,  array,  array, array,  array,  array