Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGVLab/EfficientQAT
/ set_quant_state
Method
set_quant_state
quantize/int_linear_fake.py:53–54 ·
view source on GitHub ↗
(self, weight_quant: bool = False)
Source
from the content-addressed store, hash-verified
51
return
out
52
53
def
set_quant_state(self, weight_quant: bool = False):
54
self.use_weight_quant = weight_quant
55
56
57
Callers
1
set_quant_state
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected