MCPcopy Create free account
hub / github.com/HiLab-git/SSL4MIS / BasicLayer

Class BasicLayer

code/networks/swin_transformer_unet_skip_expand_decoder_sys.py:413–483  ·  view source on GitHub ↗

A basic Swin Transformer layer for one stage. Args: dim (int): Number of input channels. input_resolution (tuple[int]): Input resolution. depth (int): Number of blocks. num_heads (int): Number of attention heads. window_size (int): Local window size.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected