diffusion_models.models.positional_encoding.PositionalEncoding2D

class diffusion_models.models.positional_encoding.PositionalEncoding2D(*args, **kwargs)[source]

Bases: Module

__init__(*args, **kwargs)[source]

Methods

__init__(*args, **kwargs)

forward(x)