Skip to content

[Documentation] "r" as method docstring for forward #709

@natolambert

Description

@natolambert

Describe the bug

As seen here, the forward docstrings of the UNet classes have "r" as the method description. Why is this?

"""r
Args:
sample (`torch.FloatTensor`): (batch, channel, height, width) noisy inputs tensor
timestep (`torch.FloatTensor` or `float` or `int): (batch) timesteps
return_dict (`bool`, *optional*, defaults to `True`):
Whether or not to return a [`~models.unet_2d.UNet2DOutput`] instead of a plain tuple.
Returns:

I think @kashif you added these?

Reproduction

No response

Logs

No response

System Info

Not needed, documentation issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions