MCPcopy Create free account
hub / github.com/OpenGVLab/EfficientQAT / __init__

Method __init__

quantize/utils.py:9–11  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

7
8class MultiBlock(nn.Module):
9 def __init__(self, *args, **kwargs) -> None:
10 super().__init__(*args, **kwargs)
11 self.block_list = nn.ModuleList([])
12
13 def add_block(self, block):
14 self.block_list.append(block)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected