original_docstring: Build dataloader for the MixGCF model including the adj matrix and sparse matrix to tensor transferring
docstring: Build dataloader for the MixGCF model including the adj matrix and sparse matrix to tensor transferring
docstring_tokens: Build dataloader for the MixGCF model including the adj matrix and sparse matrix to tensor transferring
code: def build_data_loader(self):
          """Build dataloader for the MixGCF model including the adj matrix and sparse matrix to tensor transferring"""
          adj_mat, norm_adj_mat, mean_adj_mat = self.data.get_adj_mat(self.config)
          norm_adj = sparse_mx_to_torch_sparse_tensor(norm_adj_mat)
          self.config["model"]["norm_adj"] = norm_adj
          self.config["model"]["n_users"] = self.data.n_users
          self.config["model"]["n_items"] = self.data.n_items
code_tokens: def build_data_loader ( self ) : adj_mat , norm_adj_mat , mean_adj_mat = self . data . get_adj_mat ( self . config ) norm_adj = sparse_mx_to_torch_sparse_tensor ( norm_adj_mat ) self . config [ "model" ] [ "norm_adj" ] = norm_adj self . config [ "model" ] [ "n_users" ] = self . data . n_users self . config [ "model" ] [ "n_items" ] = self . data . n_items
short_docstring: Build dataloader for the MixGCF model including the adj matrix and sparse matrix to tensor transferring
short_docstring_tokens: Build dataloader for the MixGCF model including the adj matrix and sparse matrix to tensor transferring
comment: """Build dataloader for the MixGCF model including the adj matrix and sparse matrix to tensor transferring"""