Searched refs:smallest_weight (Results 1 – 1 of 1) sorted by relevance
670 float smallest_weight = 0.0; in get_weight() local673 smallest_weight = it->second; in get_weight()675 float w = (smallest_weight / 2.0) * n_ / static_cast<float>(num_classes_); in get_weight()678 w += it->second - smallest_weight / 2.0; in get_weight()687 float smallest_weight = 0.0; in set_sum_and_square() local690 smallest_weight = it->second; in set_sum_and_square()700 w = (smallest_weight / 2.0) * n_ / static_cast<float>(num_classes_); in set_sum_and_square()