MCPcopy Create free account
hub / github.com/cosmicman-cvpr2024/CosmicMan / DecoderOutput

Class DecoderOutput

diffusers/src/diffusers/models/vae.py:27–36  ·  view source on GitHub ↗

Output of decoding method. Args: sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`): The decoded output sample from the last layer of the model.

Source from the content-addressed store, hash-verified

25
26@dataclass
27class DecoderOutput(BaseOutput):
28 """
29 Output of decoding method.
30
31 Args:
32 sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`):
33 The decoded output sample from the last layer of the model.
34 """
35
36 sample: torch.FloatTensor
37
38
39class Encoder(nn.Module):

Callers 6

decodeMethod · 0.85
forwardMethod · 0.85
_decodeMethod · 0.85
decodeMethod · 0.85
tiled_decodeMethod · 0.85
forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected