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

Class VQEncoderOutput

src/diffusers/models/vq_model.py:28–37  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

26
27@dataclass
28class VQEncoderOutput(BaseOutput):
29 """
30 Output of VQModel encoding method.
31
32 Args:
33 latents (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`):
34 The encoded output sample from the last layer of the model.
35 """
36
37 latents: torch.FloatTensor
38
39
40class VQModel(ModelMixin, ConfigMixin):

Callers 2

encodeMethod · 0.85
encodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected