MCPcopy Create free account
hub / github.com/CompVis/diff2flow / encode

Method encode

diff2flow/conditioning/encoders.py:210–211  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

208 return x
209
210 def encode(self, text):
211 return self(text)
212
213 @torch.no_grad()
214 def get_unconditional_conditioning(self, device="cuda"):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected