MCPcopy Create free account
hub / github.com/Vchitect/SEINE / AbstractEncoder

Class AbstractEncoder

models/clip.py:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22"""
23
24class AbstractEncoder(nn.Module):
25 def __init__(self):
26 super().__init__()
27
28 def encode(self, *args, **kwargs):
29 raise NotImplementedError
30
31
32class FrozenCLIPEmbedder(AbstractEncoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected