Searched refs:new_center (Results 1 – 3 of 3) sorted by relevance
201 const int new_center = (dist_accum[n] + accum[n] / 2) / accum[n]; in AssignSegments() local202 displaced += abs(centers[n] - new_center); in AssignSegments()203 centers[n] = new_center; in AssignSegments()204 weighted_average += new_center * accum[n]; in AssignSegments()
657 new_center = array_ops.reshape(first_shard[0], [1, -1])659 new_center = nn_impl.l2_normalize(new_center, dim=1)660 return new_center
656 new_center = array_ops.reshape(first_shard[0], [1, -1])658 new_center = nn_impl.l2_normalize(new_center, dim=1)659 return new_center