MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / DecoderOutput

Class DecoderOutput

wan/models/wan_vae_tiny_pipeline.py:5–8  ·  view source on GitHub ↗

Simple wrapper to match the output format expected by pipeline

Source from the content-addressed store, hash-verified

3
4
5class DecoderOutput:
6 """Simple wrapper to match the output format expected by pipeline"""
7 def __init__(self, sample):
8 self.sample = sample
9
10
11def setup_tiny_vae(pipeline, model_type="wan2.1", tiny_vae_path=None, parallel_decode=False, need_scaled=False):

Callers 8

decodeMethod · 0.90
_decodeMethod · 0.90
decodeMethod · 0.90
_decodeMethod · 0.90
decodeMethod · 0.90
_decodeMethod · 0.90
decodeMethod · 0.90
patched_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected