MCPcopy Create free account
hub / github.com/DevTechJr/turboquant_cutile / __repr__

Method __repr__

turboquant_cutile/codebook.py:77–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75 return self.centroids.to(indices.device)[indices.long()]
76
77 def __repr__(self) -> str:
78 return (
79 f"LloydMaxCodebook(d={self.d}, bits={self.bits}, "
80 f"levels={self.n_levels})"
81 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected