MCPcopy Create free account
hub / github.com/IST-DASLab/MoE-Quant / select_layers

Function select_layers

src/model_utils.py:15–29  ·  view source on GitHub ↗
(
    model: nn.Module,
    layer_prefix: Optional[str] = "",
    layer_regex: str = ".*",
    layer_classes: Union[nn.Module, List[nn.Module]] = nn.Module,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected