MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / DecoderOutput

Class DecoderOutput

diffusers/src/diffusers/models/autoencoders/vae.py:34–44  ·  view source on GitHub ↗

r""" Output of decoding method. Args: sample (`torch.Tensor` 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

32
33@dataclass
34class DecoderOutput(BaseOutput):
35 r"""
36 Output of decoding method.
37
38 Args:
39 sample (`torch.Tensor` of shape `(batch_size, num_channels, height, width)`):
40 The decoded output sample from the last layer of the model.
41 """
42
43 sample: torch.Tensor
44 commit_loss: Optional[torch.FloatTensor] = None
45
46
47class Encoder(nn.Module):

Callers 15

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

Calls

no outgoing calls

Tested by

no test coverage detected