Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/EfficientQAT
/ add_block
Method
add_block
quantize/utils.py:13–14 ·
view source on GitHub ↗
(self, block)
Source
from the content-addressed store, hash-verified
11
self.block_list = nn.ModuleList([])
12
13
def
add_block(self, block):
14
self.block_list.append(block)
15
16
def
forward(self,
17
hidden_states: torch.Tensor,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected