|View source on GitHub|
Libraries for computing private heavy hitters with IBLT.
class IbltDecoder: Decode the strings and counts stored in an IBLT data structure.
class IbltEncoder: Encodes the strings into an IBLT data structure.
class RandomHyperEdgeHasher: Hashes a string to a list of independently sampled indices.
class UTF8Chunker: Encodes and decodes strings into integer tensors using UTF-8 encoding.
decode_iblt_tf(...): Decode a IBLT sketch.