MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / DecoderOutput

Class DecoderOutput

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

r""" 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

32
33@dataclass
34class DecoderOutput(BaseOutput):
35 r"""
36 Output of decoding method.
37
38 Args:
39 sample (`torch.FloatTensor` 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.FloatTensor
44
45
46class Encoder(nn.Module):

Callers 15

decodeMethod · 0.85
forwardMethod · 0.85
decodeMethod · 0.85
forwardMethod · 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

Calls

no outgoing calls

Tested by

no test coverage detected