catmint999

Results 1 comments of catmint999

已解决,修改成sub_graph = ( dgl.edge_subgraph(self.ckg, edge_idxs, relabel_nodes=False) # , preserve_nodes=True 不能用 .adj_external(scipy_fmt='coo', transpose=False) # transpose=False, scipy_fmt="coo" #参考:https://docs.dgl.ai/generated/dgl.DGLGraph.adj.html#dgl.DGLGraph.adj .astype("float") )可运行