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

Class ResnetUpsampleBlock2D

src/diffusers/models/unet_2d_blocks.py:367–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365
366
367class ResnetUpsampleBlock2D(ResnetUpsampleBlock2D):
368 deprecation_message = "Importing `ResnetUpsampleBlock2D` from `diffusers.models.unet_2d_blocks` is deprecated and this will be removed in a future version. Please use `from diffusers.models.unets.unet_2d_blocks import ResnetUpsampleBlock2D`, instead."
369 deprecate("ResnetUpsampleBlock2D", "0.29", deprecation_message)
370
371
372class SimpleCrossAttnUpBlock2D(SimpleCrossAttnUpBlock2D):

Callers 1

Calls 1

deprecateFunction · 0.85

Tested by

no test coverage detected