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

Method embed

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

Source from the content-addressed store, hash-verified

273 return loss
274
275 def embed(self, x, edge_index, edge_weigt=None, batch=None):
276
277 return self.encoder(x, edge_index, edge_weigt, batch)
278
279class TextModel(nn.Module):
280 def __init__(self, encoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected