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

Method set_description

trainer.py:130–137  ·  view source on GitHub ↗
(cls, desc)

Source from the content-addressed store, hash-verified

128
129 @classmethod
130 def set_description(cls, desc):
131 string = ""
132 for key, value in desc.items():
133 if isinstance(value, int):
134 string += f"{key}:{value} "
135 else:
136 string += f"{key}:{value:.4f} "
137 print(string)
138
139 def prepare_data(self):
140 self.adj = self.predata.adj

Callers 1

trainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected