HGQ.utils package

Submodules

HGQ.utils.utils module

class HGQ.utils.utils.MonoL1(l1=0.0)

Bases: object

get_config()
HGQ.utils.utils.apf_to_tuple(apf: str)

Convert fixed format to tuple of (keep_negative, int_bits, fp_bits)

HGQ.utils.utils.get_default_kq_conf()
HGQ.utils.utils.get_default_paq_conf()
HGQ.utils.utils.set_default_kq_conf(config)
HGQ.utils.utils.set_default_paq_conf(config)
HGQ.utils.utils.tuple_to_apf(t: tuple, rnd='TRN', warp='WARP', keep_zeros=True)

Convert tuple of (keep_negative, int_bits, fp_bits) to fixed format

HGQ.utils.utils.warn(msg: str, stacklevel=2)

Module contents