Searched refs:hparams (Results 1 – 2 of 2) sorted by relevance
122 BrotliHasherParams* hparams) { in ChooseHasher() argument124 hparams->type = 10; in ChooseHasher()126 hparams->type = 54; in ChooseHasher()128 hparams->type = params->quality; in ChooseHasher()130 hparams->type = params->quality < 7 ? 40 : params->quality < 9 ? 41 : 42; in ChooseHasher()132 hparams->type = 6; in ChooseHasher()133 hparams->block_bits = params->quality - 1; in ChooseHasher()134 hparams->bucket_bits = 15; in ChooseHasher()135 hparams->hash_len = 5; in ChooseHasher()136 hparams->num_last_distances_to_check = in ChooseHasher()[all …]
3117 * Allow the use of '.' in variables (e.g. "hparams.parse('a.b=1.0')"),3122 object (e.g. "hparams.add_hparam(name='a.b', value=0.0)").