MCPcopy Create free account
hub / github.com/JiangkaiWu/Promptus / quantize_tensor

Function quantize_tensor

quantization.py:36–47  ·  view source on GitHub ↗
(x, scale, zero_point, num_bits=8, signed=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

quantize_tensorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected