MCPcopy Create free account
hub / github.com/MegaScenes/nvs / encode

Method encode

ldm/modules/encoders/modules.py:25–26  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

23class IdentityEncoder(AbstractEncoder):
24
25 def encode(self, x):
26 return x
27
28class FaceClipEncoder(AbstractEncoder):
29 def __init__(self, augment=True, retreival_key=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected