MCPcopy Create free account
hub / github.com/PKU-ASAL/Simulated-Data / GetNodeCmd

Method GetNodeCmd

src/ETW/real-time/ProvGraph.py:138–143  ·  view source on GitHub ↗
(self,node)

Source from the content-addressed store, hash-verified

136 return x
137
138 def GetNodeCmd(self,node):
139 if self.nodes[node]['cmd'] != '':
140 x = self.nodes[node]['cmd']
141 else:
142 x = self.nodes[node]['label']
143 return x
144 def GetEmbedding(self, corpus, model):
145 tmp = [model.wv[i] for i in corpus]
146 r = np.mean(tmp,axis=0)

Callers 3

updateMethod · 0.95
log_parserFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected