MCPcopy
hub / github.com/vladmandic/sdnext / taesd_vae_encode

Function taesd_vae_encode

modules/processing_vae.py:232–235  ·  view source on GitHub ↗
(image)

Source from the content-addressed store, hash-verified

230
231
232def taesd_vae_encode(image):
233 log.debug(f'Encode: vae="taesd" image={image.shape}')
234 encoded = sd_vae_taesd.encode(image)
235 return encoded
236
237
238def vae_postprocess(tensor, model, output_type='np'):

Callers 1

vae_encodeFunction · 0.85

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected