MCPcopy Create free account
hub / github.com/NineAbyss/ZeroG / forward

Method forward

code/model.py:113–118  ·  view source on GitHub ↗
(self, x, edge_index, edge_weigt=None, batch=None)

Source from the content-addressed store, hash-verified

111
112
113 def forward(self, x, edge_index, edge_weigt=None, batch=None):
114
115 h = self.encoder(x, edge_index, edge_weigt, batch)
116 h = self.proj_head(h)
117
118 return h
119
120
121 def get_loss(self, x, x_aug, batch_size):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected