MCPcopy Index your code
hub / github.com/ImprintLab/MedSegDiff / __init__

Method __init__

guided_diffusion/unet.py:826–1029  ·  view source on GitHub ↗
(
        self,
        image_size,
        in_channels,
        model_channels,
        out_channels,
        num_res_blocks,
        attention_resolutions,
        dropout=0,
        channel_mult=(1, 2, 4, 8),
        conv_resample=True,
        dims=2,
        num_classes=None,
        use_checkpoint=False,
        use_fp16=False,
        num_heads=1,
        num_head_channels=-1,
        num_heads_upsample=-1,
        use_scale_shift_norm=False,
        resblock_updown=False,
        use_new_attention_order=False,
        high_way = True,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

linearFunction · 0.85
conv_ndFunction · 0.85
ResBlockClass · 0.85
AttentionBlockClass · 0.85
DownsampleClass · 0.85
UpsampleClass · 0.85
normalizationFunction · 0.85
zero_moduleFunction · 0.85
Generic_UNetClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected