MCPcopy Create free account
hub / github.com/Vegetebird/GraphMLP / graph_link_between_frames

Method graph_link_between_frames

model/block/graph_frames.py:33–34  ·  view source on GitHub ↗
(self,base)

Source from the content-addressed store, hash-verified

31 return self.A
32
33 def graph_link_between_frames(self,base):
34 return [((front - 1) + i*self.num_node_each, (back - 1)+ i*self.num_node_each) for i in range(self.seqlen) for (front, back) in base]
35
36 def basic_layout(self,neighbour_base, sym_base):
37 self.num_node = self.num_node_each * self.seqlen

Callers 1

basic_layoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected