docstr: build a graph in torch.sparse.IntTensor.
  Details in NGCF's matrix form
  A = 
      |I,   R|
      |R^T, I|
docstr_tok: ["build","a","graph","in","torch.sparse.IntTensor",".","Details","in","NGCF","'s","matrix","form","A","=","|I",",","R|","|R^T",",","I|"]
code: def getSparseGraph(self):
      """
      build a graph in torch.sparse.IntTensor.
      Details in NGCF's matrix form
      A =
          |I,   R|
          |R^T, I|
      """
      raise NotImplementedError
  
imports: import os
  from os.path import join
  import sys
  import paddle
  import numpy
  import pandas
  from paddle.io import Dataset, DataLoader
  from scipy.sparse import csr_matrix
  import scipy.sparse
  from time import time
label_desc: Use image node_id 10 for calling the BasicDataset obj's underlying member method code with example usage: obj.getSparseGraph() without return types