MCPcopy Create free account
hub / github.com/KyanChen/RSPrompter / __init__

Method __init__

projects/XDecoder/xdecoder/focalnet.py:242–296  ·  view source on GitHub ↗
(self,
                 dim,
                 mlp_ratio=4.,
                 drop=0.,
                 drop_path=0.,
                 act_layer=nn.GELU,
                 norm_layer=nn.LayerNorm,
                 focal_level=2,
                 focal_window=9,
                 use_postln=False,
                 use_postln_in_modulation=False,
                 scaling_modulator=False,
                 use_layerscale=False,
                 layerscale_value=1e-4)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

FocalModulationClass · 0.85
MlpClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected