@@ -223,7 +223,7 @@ class UNet2DConditionModel(ModelMixin, ConfigMixin):
|
|||||||
encoder_hidden_states: torch.Tensor,
|
encoder_hidden_states: torch.Tensor,
|
||||||
return_dict: bool = True,
|
return_dict: bool = True,
|
||||||
) -> Union[UNet2DConditionOutput, Tuple]:
|
) -> Union[UNet2DConditionOutput, Tuple]:
|
||||||
"""r
|
r"""
|
||||||
Args:
|
Args:
|
||||||
sample (`torch.FloatTensor`): (batch, channel, height, width) noisy inputs tensor
|
sample (`torch.FloatTensor`): (batch, channel, height, width) noisy inputs tensor
|
||||||
timestep (`torch.FloatTensor` or `float` or `int`): (batch) timesteps
|
timestep (`torch.FloatTensor` or `float` or `int`): (batch) timesteps
|
||||||
|
|||||||
Reference in New Issue
Block a user