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

Method encode

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

Source from the content-addressed store, hash-verified

249 return z
250
251 def encode(self, text):
252 return self(text)
253
254 @torch.no_grad()
255 def get_unconditional_conditioning(self, device="cuda"):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected