code: def _gather_mm_scatter(A, B, out, idx_a=None, idx_b=None, idx_c=None):
      r"""Invoke the C API of the gather_mm_scatter operator."""
      _CAPI_DGLKernelGATHERMMSCATTER(
          to_dgl_nd(A),
          to_dgl_nd(B),
          to_dgl_nd_for_write(out),
          to_dgl_nd(idx_a),
          to_dgl_nd(idx_b),
          to_dgl_nd(idx_c),
      )
      return out
  
imports: from __future__ import absolute_import
  from .None import backend, ndarray
  from ._ffi.function import _init_api
  from .base import DGLError
label_desc: Use image node_id 12 for calling a global function with example usage: _gather_mm_scatter(A, B, out, idx_a, idx_b, idx_c) and returns: out