MCPcopy Create free account
hub / github.com/adobe-research/custom-diffusion / AbstractEncoder

Class AbstractEncoder

src/custom_modules.py:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218class AbstractEncoder(nn.Module):
219 def __init__(self):
220 super().__init__()
221
222 def encode(self, *args, **kwargs):
223 raise NotImplementedError
224
225
226class FrozenCLIPEmbedderWrapper(AbstractEncoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected