Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
examples/models/stable_diffusion/model.py:67–69 ·
view source on GitHub ↗
(self, vae)
Source
from the content-addressed store, hash-verified
65
""
"Wrapper for VAE decoder with scaling and normalization"
""
66
67
def
__init__(self, vae):
68
super().__init__()
69
self.vae = vae
70
71
def
forward(self, latents):
72
# Scale latents
Callers
2
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected