Home
last modified time | relevance | path

Searched refs:Cluster (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/
DKMeansPlusPlusClusterer.java92 public List<Cluster<T>> cluster(final Collection<T> points, in cluster()
95 List<Cluster<T>> clusters = chooseInitialCenters(points, k, random); in cluster()
102 List<Cluster<T>> newClusters = new ArrayList<Cluster<T>>(); in cluster()
103 for (final Cluster<T> cluster : clusters) { in cluster()
126 newClusters.add(new Cluster<T>(newCenter)); in cluster()
145 assignPointsToClusters(final Collection<Cluster<T>> clusters, final Collection<T> points) { in assignPointsToClusters()
147 Cluster<T> cluster = getNearestCluster(clusters, p); in assignPointsToClusters()
161 private static <T extends Clusterable<T>> List<Cluster<T>>
165 final List<Cluster<T>> resultSet = new ArrayList<Cluster<T>>(); in chooseInitialCenters()
169 resultSet.add(new Cluster<T>(firstPoint)); in chooseInitialCenters()
[all …]
/external/tensorflow/tensorflow/core/grappler/clusters/
Dcluster.cc22 Cluster::Cluster(int timeout_s) : timeout_s_(timeout_s) { in Cluster() function in tensorflow::grappler::Cluster
26 Cluster::~Cluster() {} in ~Cluster()
28 void Cluster::AllowSoftPlacement(bool soft_placement_state) { in AllowSoftPlacement()
32 void Cluster::SetNumInterOpThreads(int num_threads) { in SetNumInterOpThreads()
40 void Cluster::SetNumWarmupSteps(int num_steps) { in SetNumWarmupSteps()
46 void Cluster::SetExecutorType(const string* executor_type) { in SetExecutorType()
50 int Cluster::NumWarmupSteps() const { in NumWarmupSteps()
54 void Cluster::DisableDetailedStats(bool disable) { in DisableDetailedStats()
64 bool Cluster::DetailedStatsEnabled() const { in DetailedStatsEnabled()
68 void Cluster::DisableOptimizer(bool disable) { in DisableOptimizer()
[all …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dmisched-fusion-arith-logic.mir16 ; CHECK: SU(2): Ord Latency=0 Cluster
19 ; CHECK: SU(3): Ord Latency=0 Cluster
22 ; CHECK: SU(0): Ord Latency=0 Cluster
25 ; CHECK: SU(1): Ord Latency=0 Cluster
38 ; CHECK: SU(2): Ord Latency=0 Cluster
41 ; CHECK: SU(3): Ord Latency=0 Cluster
44 ; CHECK: SU(0): Ord Latency=0 Cluster
47 ; CHECK: SU(1): Ord Latency=0 Cluster
60 ; CHECK: SU(2): Ord Latency=0 Cluster
63 ; CHECK: SU(3): Ord Latency=0 Cluster
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass.cc124 class Cluster { class in tensorflow::__anonc4d28a150111::MarkForCompilationPassImpl
127 Cluster(int tf_graph_node_id, int effective_cluster_size, in Cluster() function in tensorflow::__anonc4d28a150111::MarkForCompilationPassImpl::Cluster
149 void Merge(Cluster* other);
238 TF_DISALLOW_COPY_AND_ASSIGN(Cluster);
243 Node* GetOnlyNodeIn(const Cluster& cluster);
247 bool IsSinkLike(const Cluster& cluster);
251 bool IsScalarIntegerResourceOperation(const Cluster& cluster);
290 StatusOr<bool> TryToContractEdge(Cluster* from, Cluster* to);
300 StatusOr<bool> ShouldCompileClusterImpl(const Cluster& cluster);
302 StatusOr<bool> ShouldCompileCluster(const Cluster& cluster);
[all …]
/external/skia/modules/skparagraph/src/
DTextWrapper.h18 ClusterPos(Cluster* cluster, size_t pos) : fCluster(cluster), fPos(pos) {} in ClusterPos()
19 inline Cluster* cluster() const { return fCluster; } in cluster()
32 Cluster* fCluster;
38 TextStretch(Cluster* s, Cluster* e, bool forceStrut) in TextStretch()
53 inline Cluster* startCluster() const { return fStart.cluster(); } in startCluster()
54 inline Cluster* endCluster() const { return fEnd.cluster(); } in endCluster()
55 inline Cluster* breakCluster() const { return fBreak.cluster(); } in breakCluster()
77 void extend(Cluster* cluster) { in extend()
91 void extend(Cluster* cluster, size_t pos) { in extend()
98 void startFrom(Cluster* cluster, size_t pos) { in startFrom()
[all …]
DRun.cpp142 SkScalar Run::addSpacesAtTheEnd(SkScalar space, Cluster* cluster) { in addSpacesAtTheEnd()
157 SkScalar Run::addSpacesEvenly(SkScalar space, Cluster* cluster) { in addSpacesEvenly()
178 void Run::shift(const Cluster* cluster, SkScalar offset) { in shift()
249 SkScalar Cluster::sizeToChar(TextIndex ch) const { in sizeToChar()
259 SkScalar Cluster::sizeFromChar(TextIndex ch) const { in sizeFromChar()
269 size_t Cluster::roundPos(SkScalar s) const { in roundPos()
274 SkScalar Cluster::trimmedWidth(size_t pos) const { in trimmedWidth()
294 Run* Cluster::runOrNull() const { in runOrNull()
301 Run& Cluster::run() const { in run()
306 SkFont Cluster::font() const { in font()
[all …]
/external/libvpx/libwebm/mkvparser/
Dmkvparser.h69 class Cluster; variable
82 long Parse(const Cluster*);
85 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled
86 long long GetTime(const Cluster*) const; // absolute, and scaled (ns)
124 BlockEntry(Cluster*, long index);
130 const Cluster* GetCluster() const;
138 Cluster* const m_pCluster;
147 SimpleBlock(Cluster*, long index, long long start, long long size);
162 BlockGroup(Cluster*, long index,
970 class Cluster {
[all …]
/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvparser.h69 class Cluster; variable
82 long Parse(const Cluster*);
85 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled
86 long long GetTime(const Cluster*) const; // absolute, and scaled (ns)
124 BlockEntry(Cluster*, long index);
130 const Cluster* GetCluster() const;
138 Cluster* const m_pCluster;
147 SimpleBlock(Cluster*, long index, long long start, long long size);
162 BlockGroup(Cluster*, long index,
970 class Cluster {
[all …]
/external/libwebm/mkvparser/
Dmkvparser.h69 class Cluster; variable
82 long Parse(const Cluster*);
85 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled
86 long long GetTime(const Cluster*) const; // absolute, and scaled (ns)
124 BlockEntry(Cluster*, long index);
130 const Cluster* GetCluster() const;
138 Cluster* const m_pCluster;
147 SimpleBlock(Cluster*, long index, long long start, long long size);
162 BlockGroup(Cluster*, long index,
970 class Cluster {
[all …]
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.h69 class Cluster; variable
82 long Parse(const Cluster*);
85 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled
86 long long GetTime(const Cluster*) const; // absolute, and scaled (ns)
124 BlockEntry(Cluster*, long index);
130 const Cluster* GetCluster() const;
138 Cluster* const m_pCluster;
147 SimpleBlock(Cluster*, long index, long long start, long long size);
162 BlockGroup(Cluster*, long index,
970 class Cluster {
[all …]
/external/libwebm/webm_parser/src/
Dcluster_parser.h23 class ClusterParser : public MasterValueParser<Cluster> {
26 : MasterValueParser<Cluster>( in ClusterParser()
27 MakeChild<UnsignedIntParser>(Id::kTimecode, &Cluster::timecode), in ClusterParser()
29 &Cluster::previous_size), in ClusterParser()
31 &Cluster::simple_blocks) in ClusterParser()
33 MakeChild<BlockGroupParser>(Id::kBlockGroup, &Cluster::block_groups) in ClusterParser()
/external/libwebm/webm_parser/tests/
Dmaster_value_parser_test.cc28 using webm::Cluster;
40 class FakeClusterParser : public MasterValueParser<Cluster> {
44 MakeChild<UnsignedIntParser>(Id::kTimecode, &Cluster::timecode), in FakeClusterParser()
45 MakeChild<UnsignedIntParser>(Id::kPrevSize, &Cluster::previous_size) in FakeClusterParser()
82 EXPECT_CALL(callback_, OnClusterBegin(metadata_, Cluster{}, NotNull())) in TEST_F()
85 EXPECT_CALL(callback_, OnClusterEnd(metadata_, Cluster{})).Times(1); in TEST_F()
103 Cluster cluster{}; in TEST_F()
136 Cluster cluster{}; in TEST_F()
173 Cluster cluster{}; in TEST_F()
207 Cluster cluster{}; in TEST_F()
[all …]
Dcluster_parser_test.cc27 using webm::Cluster;
44 EXPECT_CALL(callback_, OnClusterBegin(metadata_, Cluster{}, NotNull())) in TEST_F()
47 EXPECT_CALL(callback_, OnClusterEnd(metadata_, Cluster{})).Times(1); in TEST_F()
59 EXPECT_CALL(callback_, OnClusterBegin(metadata_, Cluster{}, NotNull())) in TEST_F()
61 EXPECT_CALL(callback_, OnClusterEnd(metadata_, Cluster{})).Times(1); in TEST_F()
89 Cluster cluster{}; in TEST_F()
153 Cluster cluster{}; in TEST_F()
220 Cluster cluster{}; in TEST_F()
252 Cluster cluster{}; in TEST_F()
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dfusion-load-store.ll2 ; scheduler will print "Cluster ld/st SU(x) - SU(y)" if SU(x) and SU(y) are fused.
13 ; CHECK: Cluster ld/st SU([[SU3:[0-9]+]]) - SU([[SU4:[0-9]+]])
14 ; CHECK: Cluster ld/st SU([[SU2:[0-9]+]]) - SU([[SU5:[0-9]+]])
21 ; CHECK: Cluster ld/st SU([[SU0:[0-9]+]]) - SU([[SU1:[0-9]+]])
22 ; CHECK: Cluster ld/st SU([[SU2:[0-9]+]]) - SU([[SU3:[0-9]+]])
42 ; CHECK: Cluster ld/st SU([[SU3:[0-9]+]]) - SU([[SU4:[0-9]+]])
43 ; CHECK: Cluster ld/st SU([[SU2:[0-9]+]]) - SU([[SU5:[0-9]+]])
50 ; CHECK: Cluster ld/st SU([[SU0:[0-9]+]]) - SU([[SU1:[0-9]+]])
51 ; CHECK: Cluster ld/st SU([[SU2:[0-9]+]]) - SU([[SU3:[0-9]+]])
71 ; CHECK: Cluster ld/st SU([[SU2:[0-9]+]]) - SU([[SU5:[0-9]+]])
[all …]
/external/llvm-project/lld/ELF/
DCallGraphSort.cpp60 struct Cluster { struct
61 Cluster(int sec, size_t s) : next(sec), prev(sec), size(s) {} in Cluster() function
84 std::vector<Cluster> clusters;
139 Cluster &toC = clusters[to]; in CallGraphSort()
145 for (Cluster &c : clusters) in CallGraphSort()
150 static bool isNewDensityBad(Cluster &a, Cluster &b) { in isNewDensityBad()
166 static void mergeClusters(std::vector<Cluster> &cs, Cluster &into, int intoIdx, in mergeClusters()
167 Cluster &from, int fromIdx) { in mergeClusters()
194 Cluster &c = clusters[l]; in run()
204 Cluster *predC = &clusters[predL]; in run()
/external/llvm-project/lld/COFF/
DCallGraphSort.cpp32 struct Cluster { struct
33 Cluster(int sec, size_t s) : next(sec), prev(sec), size(s) {} in Cluster() function
56 std::vector<Cluster> clusters;
110 Cluster &toC = clusters[to]; in CallGraphSort()
116 for (Cluster &c : clusters) in CallGraphSort()
121 static bool isNewDensityBad(Cluster &a, Cluster &b) { in isNewDensityBad()
137 static void mergeClusters(std::vector<Cluster> &cs, Cluster &into, int intoIdx, in mergeClusters()
138 Cluster &from, int fromIdx) { in mergeClusters()
165 Cluster &c = clusters[l]; in run()
175 Cluster *predC = &clusters[predL]; in run()
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time.h49 struct Cluster { struct
50 Cluster() in Cluster() argument
101 const Cluster& cluster_aggregate);
103 static void AddCluster(std::list<Cluster>* clusters, Cluster* cluster);
110 void ComputeClusters(std::list<Cluster>* clusters) const;
112 std::list<Cluster>::const_iterator FindBestProbe(
113 const std::list<Cluster>& clusters) const;
Dremote_bitrate_estimator_abs_send_time.cc77 const Cluster& cluster_aggregate) { in IsWithinClusterBounds()
85 void RemoteBitrateEstimatorAbsSendTime::AddCluster(std::list<Cluster>* clusters, in AddCluster()
86 Cluster* cluster) { in AddCluster()
114 std::list<Cluster>* clusters) const { in ComputeClusters()
115 Cluster current; in ComputeClusters()
131 current = Cluster(); in ComputeClusters()
147 std::list<Cluster>::const_iterator
149 const std::list<Cluster>& clusters) const { in FindBestProbe()
151 std::list<Cluster>::const_iterator best_it = clusters.end(); in FindBestProbe()
152 for (std::list<Cluster>::const_iterator it = clusters.begin(); in FindBestProbe()
[all …]
/external/ImageMagick/MagickCore/
Dsegment.c150 } Cluster; typedef
254 for (cluster=head; cluster != (Cluster *) NULL; cluster=next_cluster) \ in Classify()
257 cluster=(Cluster *) RelinquishMagickMemory(cluster); \ in Classify()
271 Cluster in Classify()
307 cluster=(Cluster *) NULL; in Classify()
308 head=(Cluster *) NULL; in Classify()
324 if (head != (Cluster *) NULL) in Classify()
326 cluster->next=(Cluster *) AcquireQuantumMemory(1, in Classify()
332 cluster=(Cluster *) AcquireQuantumMemory(1,sizeof(*cluster)); in Classify()
335 if (cluster == (Cluster *) NULL) in Classify()
[all …]
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DClustering.h81 struct Cluster { struct
82 Cluster() = delete;
83 explicit Cluster(const ClusterId &Id) : Id(Id) {} in Cluster() argument
96 const Cluster &getCluster(ClusterId Id) const { in getCluster() argument
107 const std::vector<Cluster> &getValidClusters() const { return Clusters_; } in getValidClusters()
144 std::vector<Cluster> Clusters_;
145 Cluster NoiseCluster_;
146 Cluster ErrorCluster_;
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dmhlo_fusion.cc260 Cluster* cluster = GetClusterForNode(op); in Run()
281 class Cluster { class in mlir::mhlo::__anonbfa6fffa0111::FusionPlanner
283 Cluster(int node_id, FusionPlanner* planner) : node_id_(node_id) { in Cluster() function in mlir::mhlo::__anonbfa6fffa0111::FusionPlanner::Cluster
289 void Merge(Cluster* other) { in Merge()
318 Cluster* MakeCluster(int cycles_graph_node_id) { in MakeCluster()
319 cluster_storage_.emplace_back(new Cluster(cycles_graph_node_id, this)); in MakeCluster()
344 Cluster* GetClusterForNode(Operation* n) { in GetClusterForNode()
351 Cluster* GetClusterForCyclesGraphNode(int node_id) { in GetClusterForCyclesGraphNode()
356 bool MergeClusters(Cluster* cluster_from, Cluster* cluster_to) { in MergeClusters()
380 Cluster* cluster_from = GetClusterForCyclesGraphNode(node); in ForEachEdgeInPostOrder()
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-ldp-cluster.ll8 ; CHECK: Cluster ld/st SU(1) - SU(2)
13 ; EXYNOS: Cluster ld/st SU(1) - SU(2)
28 ; CHECK: Cluster ld/st SU(1) - SU(2)
33 ; EXYNOS: Cluster ld/st SU(1) - SU(2)
49 ; CHECK: Cluster ld/st SU(2) - SU(1)
54 ; EXYNOS: Cluster ld/st SU(2) - SU(1)
69 ; CHECK: Cluster ld/st SU(3) - SU(4)
74 ; EXYNOS: Cluster ld/st SU(3) - SU(4)
92 ; CHECK: Cluster ld/st SU(3) - SU(4)
97 ; EXYNOS: Cluster ld/st SU(3) - SU(4)
[all …]
Daarch64-stp-cluster.ll6 ; CHECK:Cluster ld/st SU(4) - SU(3)
7 ; CHECK:Cluster ld/st SU(2) - SU(5)
27 ; CHECK:Cluster ld/st SU(4) - SU(3)
28 ; CHECK:Cluster ld/st SU(2) - SU(5)
48 ; CHECK:Cluster ld/st SU(5) - SU(2)
49 ; CHECK:Cluster ld/st SU(4) - SU(3)
69 ; CHECK:Cluster ld/st SU(5) - SU(2)
70 ; CHECK:Cluster ld/st SU(4) - SU(3)
90 ; CHECK:Cluster ld/st SU(3) - SU(4)
91 ; CHECK:Cluster ld/st SU(2) - SU(5)
[all …]
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_quality_analysis.h79 struct Cluster { struct
89 std::vector<Cluster> CalculateFrameClusters(const std::vector<size_t>& indices); argument
93 int GetMaxRepeatedFrames(const std::vector<Cluster>& clusters);
97 int GetMaxSkippedFrames(const std::vector<Cluster>& clusters);
100 int GetTotalNumberOfSkippedFrames(const std::vector<Cluster>& clusters);
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.h44 Status Optimize(Cluster* cluster, const GrapplerItem& item, in Optimize()
50 Status OptimizeConsumeItem(Cluster* cluster, GrapplerItem&& item,
57 void Feedback(Cluster* cluster, const GrapplerItem& item, in Feedback()
89 Status OptimizeGraph(Cluster* cluster, GrapplerItem&& item,
108 Status RunOptimizer(GraphOptimizer* optimizer, Cluster* cluster,
124 DeviceBase* cpu_device, Cluster* cluster,

12345678910>>...14