Home
last modified time | relevance | path

Searched refs:new_center (Results 1 – 2 of 2) sorted by relevance

/external/webp/src/enc/
Danalysis_enc.c191 const int new_center = (dist_accum[n] + accum[n] / 2) / accum[n]; in AssignSegments() local
192 displaced += abs(centers[n] - new_center); in AssignSegments()
193 centers[n] = new_center; in AssignSegments()
194 weighted_average += new_center * accum[n]; in AssignSegments()
/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py656 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