Home
last modified time | relevance | path

Searched refs:num_clusters (Results 1 – 21 of 21) sorted by relevance

/external/brotli/c/enc/
Dcluster_inc.h75 size_t num_clusters,
87 for (idx1 = 0; idx1 < num_clusters; ++idx1) {
89 for (idx2 = idx1 + 1; idx2 < num_clusters; ++idx2) {
96 while (num_clusters > min_cluster_size) {
116 for (i = 0; i < num_clusters; ++i) {
119 (num_clusters - i - 1) * sizeof(clusters[0]));
123 --num_clusters;
148 for (i = 0; i < num_clusters; ++i) {
153 return num_clusters;
173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
[all …]
Dblock_splitter_inc.h204 size_t num_clusters = 0; in FN() local
268 histogram_symbols[i + j] = (uint32_t)num_clusters + remap[symbols[j]]; in FN()
270 num_clusters += num_new_clusters; in FN()
271 BROTLI_DCHECK(num_clusters == cluster_size_size); in FN()
272 BROTLI_DCHECK(num_clusters == all_histograms_size); in FN()
277 BROTLI_MIN(size_t, 64 * num_clusters, (num_clusters / 2) * num_clusters); in FN()
284 clusters = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
286 for (i = 0; i < num_clusters; ++i) { in FN()
291 num_clusters, num_blocks, BROTLI_MAX_NUMBER_OF_BLOCK_TYPES, in FN()
296 new_index = BROTLI_ALLOC(m, uint32_t, num_clusters); in FN()
[all …]
Dbrotli_bit_stream.c698 size_t num_clusters, in EncodeContextMap() argument
710 StoreVarLenUint8(num_clusters - 1, storage_ix, storage); in EncodeContextMap()
712 if (num_clusters == 1) { in EncodeContextMap()
732 BuildAndStoreHuffmanTree(histogram, num_clusters + max_run_length_prefix, in EncodeContextMap()
733 num_clusters + max_run_length_prefix, in EncodeContextMap()
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dkmeans_test.py243 num_clusters=points.shape[0],
259 num_clusters=points.shape[0],
276 num_clusters=points.shape[0],
461 num_clusters=50, argument
466 self.num_clusters = num_clusters
467 self.num_points = num_clusters * points_per_cluster
469 self.num_clusters, dimension, center_norm=center_norm)
486 self.SetUp(dimension=2, num_clusters=5, points_per_cluster=100)
490 self.SetUp(dimension=20, num_clusters=20, points_per_cluster=500)
494 self.SetUp(dimension=100, num_clusters=50, points_per_cluster=1000)
[all …]
Dkmeans.py174 num_clusters, argument
210 params['num_clusters'] = num_clusters
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dclustering_ops.py60 num_clusters, argument
141 self._num_clusters = num_clusters
270 def _create_variables(self, num_clusters): argument
306 array_ops.zeros([num_clusters], dtype=dtypes.int64))
312 array_ops.ones([num_clusters], dtype=dtypes.int64))
356 num_clusters = ops.convert_to_tensor(self._num_clusters)
359 num_clusters = array_ops.shape(initial_clusters)[0]
364 update_in_steps) = self._create_variables(num_clusters)
366 self._inputs, num_clusters, initial_clusters, self._distance_metric,
389 inputs, num_clusters, cluster_idx, cluster_centers_var)
[all …]
Dkmeans_test.py275 num_clusters=points.shape[0],
291 num_clusters=points.shape[0],
308 num_clusters=points.shape[0],
493 num_clusters=50, argument
498 self.num_clusters = num_clusters
499 self.num_points = num_clusters * points_per_cluster
501 self.num_clusters, dimension, center_norm=center_norm)
518 self.SetUp(dimension=2, num_clusters=5, points_per_cluster=100)
522 self.SetUp(dimension=20, num_clusters=20, points_per_cluster=500)
526 self.SetUp(dimension=100, num_clusters=50, points_per_cluster=1000)
[all …]
Dkmeans.py140 def __init__(self, num_clusters, initial_clusters, distance_metric, argument
144 self._num_clusters = num_clusters
199 num_clusters=self._num_clusters,
320 num_clusters, argument
418 num_clusters, initial_clusters, distance_metric, random_seed,
Dgmm_ops.py66 def _init_clusters_random(data, num_clusters, random_seed): argument
80 [check_ops.assert_less_equal(num_clusters, num_data)]):
82 [num_clusters],
464 num_clusters, argument
500 gmm_tool = GmmAlgorithm(inp, num_clusters, initial_means, params,
Dgmm.py76 num_clusters, argument
97 self._num_clusters = num_clusters
Dgmm_test.py67 clusterer = kmeans.KMeansClustering(num_clusters=self.num_centers)
/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py61 num_clusters, argument
142 self._num_clusters = num_clusters
271 def _create_variables(self, num_clusters): argument
307 array_ops.zeros([num_clusters], dtype=dtypes.int64))
313 array_ops.ones([num_clusters], dtype=dtypes.int64))
357 num_clusters = ops.convert_to_tensor(self._num_clusters)
360 num_clusters = array_ops.shape(initial_clusters)[0]
365 update_in_steps) = self._create_variables(num_clusters)
367 self._inputs, num_clusters, initial_clusters, self._distance_metric,
390 inputs, num_clusters, cluster_idx, cluster_centers_var)
[all …]
/external/libhevc/encoder/
Dhme_refine.c519 i4_num_clusters = ps_cluster_info->ps_32x32_blk[u1_blk_id].num_clusters; in hme_add_cands_for_merge_eval()
524 i4_num_clusters = ps_cluster_info->ps_64x64_blk->num_clusters; in hme_add_cands_for_merge_eval()
2508 ps_cluster_blk_16x16->num_clusters = 0; in hme_init_clusters_16x16()
2548 ps_cluster_blk_32x32->num_clusters = 0; in hme_init_clusters_32x32()
2590 ps_cluster_blk_64x64->num_clusters = 0; in hme_init_clusters_64x64()
2647 S32 num_clusters; in hme_sort_and_assign_top_ref_ids_areawise() local
2656 num_clusters = ps_32x32->num_clusters; in hme_sort_and_assign_top_ref_ids_areawise()
2663 num_clusters = ps_64x64->num_clusters; in hme_sort_and_assign_top_ref_ids_areawise()
2668 if((num_clusters > MAX_NUM_CLUSTERS_IN_VALID_32x32_BLK)) in hme_sort_and_assign_top_ref_ids_areawise()
2673 if(num_clusters == 0) in hme_sort_and_assign_top_ref_ids_areawise()
[all …]
Dhme_defs.h307 for(m = 0; num_clusters_evaluated < (ps_cluster)->num_clusters; m++) \
378 S32 num_clusters = ps_cluster_blk->num_clusters; \
381 for(j = 0; num_clusters_evaluated < num_clusters; j++) \
423 ps_cluster_blk->num_clusters--; \
2254 U08 num_clusters; member
2268 U08 num_clusters; member
2290 U08 num_clusters; member
/external/tensorflow/tensorflow/contrib/factorization/examples/
Dmnist.py121 def inference(inp, num_clusters, hidden1_units, hidden2_units): argument
138 num_clusters,
156 tf.truncated_normal([num_clusters, hidden1_units],
198 FLAGS.num_clusters,
/external/harfbuzz_ng/util/
Dhelper-cairo.cc491 l->num_clusters = l->num_glyphs ? 1 : 0; in helper_cairo_line_from_buffer()
494 l->num_clusters++; in helper_cairo_line_from_buffer()
495 l->clusters = cairo_text_cluster_allocate (l->num_clusters); in helper_cairo_line_from_buffer()
500 (l->num_clusters && !l->clusters)) in helper_cairo_line_from_buffer()
522 if (l->num_clusters) { in helper_cairo_line_from_buffer()
523 memset ((void *) l->clusters, 0, l->num_clusters * sizeof (l->clusters[0])); in helper_cairo_line_from_buffer()
Dview-cairo.cc120 } else if (l.num_clusters) in render()
124 l.clusters, l.num_clusters, in render()
Dhelper-cairo.hh60 unsigned int num_clusters; member
/external/tensorflow/tensorflow/compiler/jit/
Dxla_fusion_optimizer.cc315 int num_clusters = 0; in Optimize() local
318 VLOG(3) << "Cluster " << num_clusters << " " << size; in Optimize()
319 num_clusters++; in Optimize()
/external/webp/src/enc/
Dhistogram_enc.c1111 int num_clusters, in OptimizeHistogramSymbols() argument
1119 for (i = 0; i < num_clusters; ++i) { in OptimizeHistogramSymbols()
1142 assert(symbols[i] < num_clusters); in OptimizeHistogramSymbols()
1208 const uint32_t num_clusters = num_used; in VP8LGetHistoImageSymbols() local
1216 OptimizeHistogramSymbols(image_histo, cluster_mappings, num_clusters, in VP8LGetHistoImageSymbols()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.estimator.experimental.-k-means.pbtxt57 …argspec: "args=[\'self\', \'num_clusters\', \'model_dir\', \'initial_clusters\', \'distance_metric…