MCPcopy Create free account
hub / github.com/chengsen/PyTorch_TextGCN / save

Method save

build_graph.py:177–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

175 return tfidf_vec
176
177 def save(self):
178 print("total time:", self.pmi_time + self.tfidf_time)
179 nx.write_weighted_edgelist(self.g,
180 f"{self.graph_path}/{self.dataset}.txt")
181
182 print("\n")
183
184
185def main():

Callers 2

__init__Method · 0.95
save_checkpointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected