Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/XPixelGroup/DiffBIR
/ decode
Method
decode
diffbir/model/vae.py:579–582 ·
view source on GitHub ↗
(self, z)
Source
from the content-addressed store, hash-verified
577
return
posterior
578
579
def
decode(self, z):
580
z = self.post_quant_conv(z)
581
dec = self.decoder(z)
582
return
dec
583
584
def
forward(self, input, sample_posterior=True):
585
posterior = self.encode(input)
Callers
6
forward
Method · 0.95
process_image
Method · 0.45
main
Function · 0.45
http_bot
Function · 0.45
main
Function · 0.45
generate
Method · 0.45
Calls
1
decoder
Method · 0.80
Tested by
1
main
Function · 0.36