Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
232
def
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
238
def
vae_postprocess(tensor, model, output_type=
'np'
):
Callers
1
vae_encode
Function · 0.85
Calls
1
encode
Method · 0.45
Tested by
no test coverage detected