MCPcopy Create free account
hub / github.com/Gorilla-Lab-SCUT/tango / embed

Function embed

embedder.py:49–49  ·  view source on GitHub ↗
(x, eo=embedder_obj)

Source from the content-addressed store, hash-verified

47
48 embedder_obj = Embedder(**embed_kwargs)
49 def embed(x, eo=embedder_obj): return eo.embed(x)
50 return embed, embedder_obj.out_dim
51
52class FourierFeatureTransform(torch.nn.Module):

Callers

nothing calls this directly

Calls 1

embedMethod · 0.80

Tested by

no test coverage detected