MCPcopy Create free account
hub / github.com/CompVis/zigma / AbstractEncoder

Class AbstractEncoder

datasets/clip.py:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4
5class AbstractEncoder(nn.Module):
6 def __init__(self):
7 super().__init__()
8
9 def encode(self, *args, **kwargs):
10 raise NotImplementedError
11
12
13class FrozenCLIPEmbedder(AbstractEncoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected