docstr: 对输入的DataBundle进行处理，然后返回该scipy_sparse_matrix类型的邻接矩阵。
  
  :param ~fastNLP.DataBundle data_bundle: 需要处理的DataBundle对象
  :return:
docstr_tok: ["\u5bf9\u8f93\u5165\u7684DataBundle\u8fdb\u884c\u5904\u7406\uff0c\u7136\u540e\u8fd4\u56de\u8be5scipy_sparse_matrix\u7c7b\u578b\u7684\u90bb\u63a5\u77e9\u9635\u3002",":","param","~fastNLP.DataBundle","data_bundle",":","\u9700\u8981\u5904\u7406\u7684DataBundle\u5bf9\u8c61",":","return",":"]
code: def build_graph(self, data_bundle: DataBundle):
      r"""
      对输入的DataBundle进行处理，然后返回该scipy_sparse_matrix类型的邻接矩阵。
  
      :param ~fastNLP.DataBundle data_bundle: 需要处理的DataBundle对象
      :return:
      """
      raise NotImplementedError
  
imports: from collections import defaultdict
  import itertools
  import math
  import numpy
  from ..data_bundle import DataBundle
  from ..loader.classification import MRLoader, OhsumedLoader, R52Loader, R8Loader, NG20Loader
  from fastNLP.core.utils import f_rich_progress
label_desc: Use image node_id 4 for calling the GraphBuilderBase obj's underlying member method code with example usage: obj.build_graph(data_bundle) without return types