code: def _segment_mm_backward_B(A, dC, dB, seglen):
      """Invoke the C API of the backward of segment_mm on B."""
      _CAPI_DGLKernelSEGMENTMMBackwardB(
          to_dgl_nd(A),
          to_dgl_nd(dC),
          to_dgl_nd_for_write(dB),
          to_dgl_nd(seglen),
      )
      return dB
  
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 10 for calling a global function with example usage: _segment_mm_backward_B(A, dC, dB, seglen) and returns: dB