Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dblalock/bolt
/ set_scale
Method
set_scale
python/bolt/bolt_api.py:319–321 ·
view source on GitHub ↗
(self, scale)
Source
from the content-addressed store, hash-verified
317
self._encoder.set_offsets(offsets)
318
319
def
set_scale(self, scale):
320
self.scale = scale
321
self._encoder.set_scale(scale)
322
323
def
_quantize_lut(self, raw_lut):
324
lut = np.floor(raw_lut * self.scale + self._offsets_)
Callers
1
fit
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected