Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ set_quant_method
Method
set_quant_method
include/ctranslate2/models/model.h:103–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
101
}
102
103
void set_quant_method(QUANTIZATION_TYPE type) {
104
_quant_method = type;
105
}
106
107
virtual bool use_global_int16_scale() const {
108
return true;
Callers
1
load
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected