code: def scatter_pinned_tensor_rows(dest, rows, source):
      """Directly scatter rows from a GPU tensor given an indices array on CUDA devices,
      to a pinned tensor on the CPU.
  
      Parameters
      ----------
      dest : Tensor
          The tensor on the CPU to scatter rows to. Must be in pinned memory.
      rows : Tensor
          The rows to scatter. Must be a CUDA tensor with unique entries.
      source : Tensor
          The tensor on the GPU to scatter rows from.
      """
      _CAPI_DGLIndexScatterGPUToCPU(
          F.to_dgl_nd(dest), F.to_dgl_nd(rows), F.to_dgl_nd(source)
      )
  
imports: from ..None import backend
  from .._ffi.function import _init_api
  from ..base import DGLError
label_desc: Use image node_id 3 for calling a global function with example usage: scatter_pinned_tensor_rows(dest, rows, source) without return types