MCPcopy Create free account
hub / github.com/JasonLSC/GSCodec_Studio / build_quantizer

Function build_quantizer

gsplat/compression_simulation/quantizer.py:94–97  ·  view source on GitHub ↗
(name: str, config: AttributeQuantizerConfig)

Source from the content-addressed store, hash-verified

92
93
94def build_quantizer(name: str, config: AttributeQuantizerConfig) -> Optional[DifferentiableQuantizer]:
95 if not config.enabled or config.bitwidth is None:
96 return None
97 return DifferentiableQuantizer(name=name, config=config)

Callers 2

__init__Method · 0.85

Calls 1

Tested by 1