MCPcopy Create free account
hub / github.com/horseee/DeepCache / __init__

Method __init__

DeepCache/sd/unet_2d_blocks.py:2960–3005  ·  view source on GitHub ↗
(
        self,
        in_channels: int,
        out_channels: int,
        temb_channels: int,
        dropout: float = 0.0,
        num_layers: int = 5,
        resnet_eps: float = 1e-5,
        resnet_act_fn: str = "gelu",
        resnet_group_size: Optional[int] = 32,
        add_upsample=True,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected