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

Class UNet1DOutput

diffusers/src/diffusers/models/unets/unet_1d.py:29–38  ·  view source on GitHub ↗

The output of [`UNet1DModel`]. Args: sample (`torch.Tensor` of shape `(batch_size, num_channels, sample_size)`): The hidden states output from the last layer of the model.

Source from the content-addressed store, hash-verified

27
28@dataclass
29class UNet1DOutput(BaseOutput):
30 """
31 The output of [`UNet1DModel`].
32
33 Args:
34 sample (`torch.Tensor` of shape `(batch_size, num_channels, sample_size)`):
35 The hidden states output from the last layer of the model.
36 """
37
38 sample: torch.Tensor
39
40
41class UNet1DModel(ModelMixin, ConfigMixin):

Callers 1

forwardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected