Searched refs:new_center (Results 1 – 2 of 2) sorted by relevance
191 const int new_center = (dist_accum[n] + accum[n] / 2) / accum[n]; in AssignSegments() local192 displaced += abs(centers[n] - new_center); in AssignSegments()193 centers[n] = new_center; in AssignSegments()194 weighted_average += new_center * accum[n]; in AssignSegments()
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