Home
last modified time | relevance | path

Searched refs:clusters (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass_test.cc105 auto clusters = GetClusters(*graph); in TEST() local
106 EXPECT_EQ(4, clusters.size()); in TEST()
107 EXPECT_EQ(clusters["B"], clusters["C"]); in TEST()
108 EXPECT_EQ(clusters["E"], clusters["F"]); in TEST()
109 EXPECT_NE(clusters["B"], clusters["E"]); in TEST()
110 EXPECT_TRUE(clusters.find("A") == clusters.cend()); in TEST()
111 EXPECT_TRUE(clusters.find("D") == clusters.cend()); in TEST()
130 auto clusters = GetClusters(*graph); in TEST() local
132 EXPECT_TRUE(clusters.empty()); in TEST()
150 auto clusters = GetClusters(*graph); in TEST() local
[all …]
Dxla_fusion_optimizer_test.cc67 auto clusters = GetClusters(output); in TEST_F() local
68 EXPECT_EQ(4, clusters.size()); in TEST_F()
69 EXPECT_EQ(clusters["B"], clusters["C"]); in TEST_F()
70 EXPECT_EQ(clusters["E"], clusters["F"]); in TEST_F()
71 EXPECT_NE(clusters["B"], clusters["E"]); in TEST_F()
72 EXPECT_TRUE(clusters.find("A") == clusters.cend()); in TEST_F()
73 EXPECT_TRUE(clusters.find("D") == clusters.cend()); in TEST_F()
99 auto clusters = GetClusters(output); in TEST_F() local
100 EXPECT_EQ(2, clusters.size()); in TEST_F()
101 EXPECT_EQ(clusters["C"], clusters["E"]); in TEST_F()
[all …]
Dxla_fusion_optimizer.cc236 std::vector<UnionFind<Cluster>> clusters(graph.num_node_ids()); in Optimize() local
239 Cluster& cluster = clusters[node->id()].Get(); in Optimize()
241 worklist.push_back(&clusters[node->id()]); in Optimize()
283 if (clusters[from].Size() == 1 && IsShapeConsumerOp(*node_from)) { in Optimize()
296 clusters[from].Merge(&clusters[to]); in Optimize()
298 worklist.push_back(&clusters[from]); in Optimize()
306 int cluster = clusters[n->id()].Get().representative; in Optimize()
329 int cluster = clusters[n->id()].Get().representative; in Optimize()
/external/harfbuzz_ng/src/
Dhb-graphite2.cc318 ALLOCATE_ARRAY (hb_graphite2_cluster_t, clusters, buffer->len); in _hb_graphite2_shape()
323 memset (clusters, 0, sizeof (clusters[0]) * buffer->len); in _hb_graphite2_shape()
326 clusters[0].cluster = buffer->info[0].cluster; in _hb_graphite2_shape()
331 clusters[0].advance = gr_seg_advance_X(seg) - curradv; in _hb_graphite2_shape()
334 clusters[0].advance = 0; in _hb_graphite2_shape()
341 while (clusters[ci].base_char > before && ci) in _hb_graphite2_shape()
343 clusters[ci-1].num_chars += clusters[ci].num_chars; in _hb_graphite2_shape()
344 clusters[ci-1].num_glyphs += clusters[ci].num_glyphs; in _hb_graphite2_shape()
345 clusters[ci-1].advance += clusters[ci].advance; in _hb_graphite2_shape()
349 …if (gr_slot_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char +… in _hb_graphite2_shape()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java95 List<Cluster<T>> clusters = chooseInitialCenters(points, k, random); in cluster() local
96 assignPointsToClusters(clusters, points); in cluster()
103 for (final Cluster<T> cluster : clusters) { in cluster()
108 newCenter = getPointFromLargestVarianceCluster(clusters); in cluster()
111 newCenter = getPointFromLargestNumberCluster(clusters); in cluster()
114 newCenter = getFarthestPoint(clusters); in cluster()
129 return clusters; in cluster()
132 clusters = newClusters; in cluster()
134 return clusters; in cluster()
145 assignPointsToClusters(final Collection<Cluster<T>> clusters, final Collection<T> points) { in assignPointsToClusters() argument
[all …]
/external/harfbuzz_ng/test/shaping/data/aots/tests/
Dgpos3.tests1 #../fonts/gpos3_font1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U+00…
2 ../fonts/gpos3_font1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U+001…
3 #../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U+00…
4 #../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U+00…
5 #../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0014,U+00…
6 #../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0014,U+00…
7 ../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U+001…
8 ../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0013,U+001…
9 ../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0013,U+001…
10 ../fonts/gpos3_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012:[17|1…
[all …]
Dgsub_chaining1_simple.tests1 ../fonts/gsub_chaining1_simple_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
2 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
3 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
4 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
5 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
6 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
7 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
8 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
9 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
10 ../fonts/gsub_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
[all …]
Dgpos_chaining2_simple.tests1 ../fonts/gpos_chaining2_simple_f1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
2 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
3 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
4 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
5 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
6 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
7 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0015…
8 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0016…
9 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
10 ../fonts/gpos_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
[all …]
Dgpos_chaining3_simple.tests1 ../fonts/gpos_chaining3_simple_f1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
2 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
3 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
4 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
5 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
6 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
7 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0015…
8 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0016…
9 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
10 ../fonts/gpos_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
[all …]
Dgpos_chaining1_simple.tests1 ../fonts/gpos_chaining1_simple_f1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
2 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
3 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
4 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
5 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
6 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
7 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0015…
8 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0016…
9 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
10 ../fonts/gpos_chaining1_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0000…
[all …]
Dgsub_chaining2_simple.tests1 ../fonts/gsub_chaining2_simple_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
2 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
3 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
4 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
5 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
6 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
7 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
8 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
9 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
10 ../fonts/gsub_chaining2_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
[all …]
Dgsub_chaining3_simple.tests1 ../fonts/gsub_chaining3_simple_f1.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
2 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
3 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
4 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
5 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
6 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
7 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
8 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
9 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
10 ../fonts/gsub_chaining3_simple_f2.otf:--features="test" --no-clusters --no-glyph-names --no-positio…
[all …]
Dgpos4_simple.tests1 #../fonts/gpos4_simple_1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U…
2 #../fonts/gpos4_simple_1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0011,U…
3 #../fonts/gpos4_simple_1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0019,U+0019,U…
4 #../fonts/gpos4_simple_1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U…
5 #../fonts/gpos4_simple_1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U…
Dgpos2_2.tests1 ../fonts/gpos2_2_font1.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0012,U+0…
2 ../fonts/gpos2_2_font2.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0013,U+0…
3 ../fonts/gpos2_2_font3.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0011,U+0013,U+0…
4 ../fonts/gpos2_2_font4.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0012,U+0012,U+0…
5 ../fonts/gpos2_2_font5.otf:--features="test" --no-clusters --no-glyph-names --ned:U+0012,U+0012,U+0…
Dlookupflag_ignore_attach.tests1 #../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-pos…
2 #../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-pos…
3 #../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-pos…
4 #../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-pos…
5 #../fonts/lookupflag_ignore_attach_f1.otf:--features="test" --no-clusters --no-glyph-names --no-pos…
/external/brotli/c/enc/
Dcluster_inc.h73 uint32_t* clusters,
90 FN(BrotliCompareAndPushToQueue)(out, cluster_size, clusters[idx1],
91 clusters[idx2], max_num_pairs, &pairs[0], &num_pairs);
117 if (clusters[i] == best_idx2) {
118 memmove(&clusters[i], &clusters[i + 1],
119 (num_clusters - i - 1) * sizeof(clusters[0]));
149 FN(BrotliCompareAndPushToQueue)(out, cluster_size, best_idx1, clusters[i],
173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
183 FN(BrotliHistogramBitCostDistance)(&in[i], &out[clusters[j]]);
186 best_out = clusters[j];
[all …]
/external/skia/src/core/
DSkGlyphRun.cpp26 SkSpan<const uint32_t> clusters) in SkGlyphRun() argument
30 , fClusters{clusters}
193 auto clusters = SkSpan<const uint32_t>(it.clusters(), runSize); in drawTextBlob() local
200 it.font(), glyphIDs, offset, positions, text, clusters); in drawTextBlob()
206 it.font(), glyphIDs, it.pos(), constY, positions, text, clusters); in drawTextBlob()
211 it.font(), glyphIDs, (const SkPoint*)it.pos(), text, clusters); in drawTextBlob()
280 SkSpan<const uint32_t> clusters) { in makeGlyphRun() argument
289 clusters); in makeGlyphRun()
304 SkSpan<const char> text, SkSpan<const uint32_t> clusters) { in simplifyDrawText() argument
328 clusters); in simplifyDrawText()
[all …]
/external/skqp/src/core/
DSkGlyphRun.cpp26 SkSpan<const uint32_t> clusters) in SkGlyphRun() argument
30 , fClusters{clusters}
193 auto clusters = SkSpan<const uint32_t>(it.clusters(), runSize); in drawTextBlob() local
200 it.font(), glyphIDs, offset, positions, text, clusters); in drawTextBlob()
206 it.font(), glyphIDs, it.pos(), constY, positions, text, clusters); in drawTextBlob()
211 it.font(), glyphIDs, (const SkPoint*)it.pos(), text, clusters); in drawTextBlob()
280 SkSpan<const uint32_t> clusters) { in makeGlyphRun() argument
289 clusters); in makeGlyphRun()
304 SkSpan<const char> text, SkSpan<const uint32_t> clusters) { in simplifyDrawText() argument
328 clusters); in simplifyDrawText()
[all …]
/external/skqp/src/pdf/
DSkClusterator.cpp14 static bool is_reversed(const uint32_t* clusters, uint32_t count) { in is_reversed() argument
17 if (count < 2 || clusters[0] == 0 || clusters[count - 1] != 0) { in is_reversed()
21 if (clusters[i + 1] > clusters[i]) { in is_reversed()
29 : fClusters(run.clusters().data()) in SkClusterator()
/external/skia/src/pdf/
DSkClusterator.cpp14 static bool is_reversed(const uint32_t* clusters, uint32_t count) { in is_reversed() argument
17 if (count < 2 || clusters[0] == 0 || clusters[count - 1] != 0) { in is_reversed()
21 if (clusters[i + 1] > clusters[i]) { in is_reversed()
29 : fClusters(run.clusters().data()) in SkClusterator()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time.cc89 std::list<Cluster>* clusters, in AddCluster() argument
94 clusters->push_back(*cluster); in AddCluster()
123 std::list<Cluster>* clusters) const { in ComputeClusters()
138 AddCluster(clusters, &current); in ComputeClusters()
150 AddCluster(clusters, &current); in ComputeClusters()
155 const std::list<Cluster>& clusters) const { in FindBestProbe()
157 std::list<Cluster>::const_iterator best_it = clusters.end(); in FindBestProbe()
158 for (std::list<Cluster>::const_iterator it = clusters.begin(); in FindBestProbe()
159 it != clusters.end(); in FindBestProbe()
187 std::list<Cluster> clusters; in ProcessClusters() local
[all …]
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h109 typename ListOfClusters::iterator matrix_function_find_cluster(Index key, ListOfClusters& clusters) in matrix_function_find_cluster() argument
112 for (typename ListOfClusters::iterator i = clusters.begin(); i != clusters.end(); ++i) { in matrix_function_find_cluster()
117 return clusters.end(); in matrix_function_find_cluster()
132 void matrix_function_partition_eigenvalues(const EivalsType& eivals, std::list<Cluster>& clusters) in matrix_function_partition_eigenvalues() argument
138 typename std::list<Cluster>::iterator qi = matrix_function_find_cluster(i, clusters); in matrix_function_partition_eigenvalues()
139 if (qi == clusters.end()) { in matrix_function_partition_eigenvalues()
142 clusters.push_back(l); in matrix_function_partition_eigenvalues()
143 qi = clusters.end(); in matrix_function_partition_eigenvalues()
151 typename std::list<Cluster>::iterator qj = matrix_function_find_cluster(j, clusters); in matrix_function_partition_eigenvalues()
152 if (qj == clusters.end()) { in matrix_function_partition_eigenvalues()
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dkmeans_test.py164 clusters = kmeans.clusters()
165 self.assertAllEqual(list(clusters.shape), [self.num_centers, self.num_dims])
201 def _infer_helper(self, kmeans, clusters, num_points): argument
203 clusters, num_points)
221 keepdims=True) - 2 * np.dot(points, np.transpose(clusters)) +
222 np.transpose(np.sum(np.square(clusters), axis=1, keepdims=True)))
230 clusters = kmeans.clusters()
233 self._infer_helper(kmeans, clusters, num_points=10)
234 self._infer_helper(kmeans, clusters, num_points=1)
253 clusters = kmeans.clusters()
[all …]
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dresolve_cluster.cc66 std::vector<std::unique_ptr<Cluster>>* clusters) { in FindCluster() argument
80 clusters->push_back(std::move(cluster)); in FindCluster()
84 return (!clusters->empty()); in FindCluster()
102 std::vector<std::unique_ptr<Cluster>> clusters; in MaybeResolveClusters() local
104 &clusters)) { in MaybeResolveClusters()
105 for (auto itr = clusters.begin(); itr != clusters.end(); ++itr) { in MaybeResolveClusters()
/external/tensorflow/tensorflow/core/grappler/costs/
DBUILD54 "//tensorflow/core/grappler/clusters:cluster",
76 "//tensorflow/core/grappler/clusters:single_machine",
94 "//tensorflow/core/grappler/clusters:cluster",
95 "//tensorflow/core/grappler/clusters:virtual_cluster",
144 "//tensorflow/core/grappler/clusters:utils",
197 "//tensorflow/core/grappler/clusters:cluster",
211 "//tensorflow/core/grappler/clusters:virtual_cluster",
240 "//tensorflow/core/grappler/clusters:utils",
257 "//tensorflow/core/grappler/clusters:virtual_cluster",
275 "//tensorflow/core/grappler/clusters:cluster",
[all …]

12345678910>>...12