/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/ml/include/pcl/ml/impl/ferns/ |
H A D | fern_evaluator.hpp | 89 for (std::size_t feature_index = 0; feature_index < num_of_features; in evaluate() local 90 ++feature_index) { in evaluate() 109 for (std::size_t feature_index = 0; feature_index < num_of_features; in evaluate() local 110 ++feature_index) { in evaluate() 141 for (std::size_t feature_index = 0; feature_index < num_of_features; in evaluateAndAdd() local 142 ++feature_index) { in evaluateAndAdd() 161 for (std::size_t feature_index = 0; feature_index < num_of_features; in evaluateAndAdd() local 162 ++feature_index) { in evaluateAndAdd() 195 for (std::size_t feature_index = 0; feature_index < num_of_features; in getNodes() local 196 ++feature_index) { in getNodes() [all …]
|
H A D | fern_trainer.hpp | 89 for (std::size_t feature_index = 0; feature_index < num_of_features_; in train() local 90 ++feature_index) { in train() 112 for (std::size_t feature_index = 0; feature_index < num_of_features_; in train() local 113 ++feature_index) { in train() 119 branch_feature_results[feature_index][0] = feature_results[feature_index]; in train() 120 branch_flags[feature_index][0] = flags[feature_index]; in train() 129 for (std::size_t feature_index = 0; feature_index < num_of_features_; in train() local 130 ++feature_index) { in train() 142 for (std::size_t feature_index = 0; feature_index < num_of_features_; in train() local 143 ++feature_index) { in train() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/ml/include/pcl/ml/ferns/ |
H A D | fern.h | 96 for (std::size_t feature_index = 0; feature_index < features_.size(); in serialize() local 97 ++feature_index) { in serialize() 98 features_[feature_index].serialize(stream); in serialize() 125 for (std::size_t feature_index = 0; feature_index < features_.size(); in deserialize() local 126 ++feature_index) { in deserialize() 127 features_[feature_index].deserialize(stream); in deserialize() 166 accessFeature(const std::size_t feature_index) in accessFeature() argument 168 return features_[feature_index]; in accessFeature() 176 accessFeature(const std::size_t feature_index) const in accessFeature() argument 178 return features_[feature_index]; in accessFeature()
|
/dports/science/crf++/crfpp-1dc92a606f874a4fe52603803364cc1d90f952fb/ |
H A D | encoder.cpp | 96 EncoderFeatureIndex *feature_index, in runMIRA() argument 251 num_nonzero = feature_index->size(); in runCRF() 278 if (lbfgs.optimize(feature_index->size(), in runCRF() 291 EncoderFeatureIndex feature_index; in convert() local 293 << feature_index.what(); in convert() 326 EncoderFeatureIndex feature_index; in learn() local 341 << feature_index.what(); in learn() 353 _x->open(&feature_index, &allocator); in learn() 376 feature_index.shrink(freq, &allocator); in learn() 380 feature_index.set_alpha(&alpha[0]); in learn() [all …]
|
/dports/science/py-chainer-chemistry/chainer-chemistry-0.7.1/chainer_chemistry/dataset/ |
H A D | indexer.py | 81 def create_feature_index_list(self, feature_index): argument 82 if isinstance(feature_index, slice): 84 *feature_index.indices(self.features_length()) 86 elif isinstance(feature_index, (list, numpy.ndarray)): 87 if isinstance(feature_index[0], 89 if len(feature_index) != self.features_length(): 93 feature_index_list = numpy.argwhere(feature_index 96 feature_index_list = feature_index 99 feature_index_list = [feature_index] 120 data_index, feature_index = item [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/recognition/include/pcl/recognition/ |
H A D | sparse_quantized_multi_mod_template.h | 126 for (int feature_index = 0; feature_index < num_of_features; ++feature_index) in serialize() local 128 features[feature_index].serialize (stream); in serialize() 144 for (int feature_index = 0; feature_index < num_of_features; ++feature_index) in deserialize() local 146 features[feature_index].deserialize (stream); in deserialize()
|
H A D | dense_quantized_multi_mod_template.h | 56 for (std::size_t feature_index = 0; feature_index < num_of_features; ++feature_index) in serialize() local 58 write (stream, features[feature_index]); in serialize() 70 for (std::size_t feature_index = 0; feature_index < num_of_features; ++feature_index) in deserialize() local 72 read (stream, features[feature_index]); in deserialize()
|
/dports/textproc/yamcha/yamcha-0.33/src/ |
H A D | chunker.cpp | 69 FeatureIndex feature_index; member in YamCha::Chunker::Impl 374 os << feature_index.features[j].first in select() 375 << ':' << feature_index.features[j].second in select() 377 feature_index.features[j].second) << std::ends; in select() 384 feature_index.bow_features[j].second); in select() 390 os << feature_index.bow_features[j].first in select() 391 << ':' << feature_index.bow_features[j].second in select() 398 int k = i + feature_index.tags[j]; in select() 582 os << ' ' << feature_index.tags[i]; in writeSelect() 587 os << ' ' << feature_index.features[i].first << ":" << feature_index.features[i].second; in writeSelect() [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/rpl/rgtl/ |
H A D | rgtl_object_closest_polygon_3d.h | 50 int feature_index; in compute_closest_point() local 51 this->compute_closest_point(x, y, feature_kind, feature_index); in compute_closest_point() 58 int& feature_index) in compute_closest_point() argument 111 feature_index = i-1; in compute_closest_point() 127 feature_index = i; in compute_closest_point() 154 feature_index = i; in compute_closest_point() 170 feature_index = 0; in compute_closest_point()
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/ml/include/pcl/ml/ |
H A D | multi_channel_2d_comparison_feature_handler.h | 95 for (std::size_t feature_index = 0; feature_index < num_of_features; in createRandomFeatures() local 96 ++feature_index) { in createRandomFeatures() 97 features[feature_index].p1 = PointXY32i::randomPoint(-feature_window_width_ / 2, in createRandomFeatures() 101 features[feature_index].p2 = PointXY32i::randomPoint(-feature_window_width_ / 2, in createRandomFeatures() 105 features[feature_index].channel = static_cast<unsigned char>( in createRandomFeatures() 247 for (std::size_t feature_index = 0; feature_index < num_of_features; in createRandomFeatures() local 248 ++feature_index) { in createRandomFeatures() 249 features[feature_index].p1 = PointXY32f::randomPoint(-feature_window_width_ / 2, in createRandomFeatures() 253 features[feature_index].p2 = PointXY32f::randomPoint(-feature_window_width_ / 2, in createRandomFeatures() 257 features[feature_index].channel = static_cast<unsigned char>( in createRandomFeatures()
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/rustybuzz-0.1.1/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 527 if (feature_index) in hb_ot_layout_table_find_feature() 528 *feature_index = i; in hb_ot_layout_table_find_feature() 533 if (feature_index) in hb_ot_layout_table_find_feature() 534 *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 656 if (feature_index) in hb_ot_layout_language_get_required_feature() 657 *feature_index = index; in hb_ot_layout_language_get_required_feature() 763 if (feature_index) in hb_ot_layout_language_find_feature() 764 *feature_index = f_index; in hb_ot_layout_language_find_feature() 769 if (feature_index) in hb_ot_layout_language_find_feature() 1003 …for (hb_codepoint_t feature_index = HB_SET_VALUE_INVALID; hb_set_next(&feature_indexes, &feature_i… in hb_ot_layout_collect_lookups() local [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 654 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 659 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 788 unsigned int *feature_index) in hb_ot_layout_language_get_required_feature_index() argument 794 feature_index, in hb_ot_layout_language_get_required_feature_index() 820 unsigned int *feature_index, in hb_ot_layout_language_get_required_feature() argument 827 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 938 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 943 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 967 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 974 feature_index, in hb_ot_layout_feature_get_lookups() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/harfbuzz-sys-0.3.4/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 654 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 659 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 788 unsigned int *feature_index) in hb_ot_layout_language_get_required_feature_index() argument 794 feature_index, in hb_ot_layout_language_get_required_feature_index() 820 unsigned int *feature_index, in hb_ot_layout_language_get_required_feature() argument 827 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 938 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 943 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 967 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 974 feature_index, in hb_ot_layout_feature_get_lookups() [all …]
|
/dports/www/firefox/firefox-99.0/gfx/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 637 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 642 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 784 feature_index, in hb_ot_layout_language_get_required_feature_index() 817 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 931 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 936 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 962 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 969 feature_index, in hb_ot_layout_feature_get_lookups() 1345 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1705 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/print/harfbuzz-hb-view/harfbuzz-3.4.0/src/ |
H A D | hb-ot-layout.cc | 637 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 642 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 784 feature_index, in hb_ot_layout_language_get_required_feature_index() 817 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 931 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 936 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 962 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 969 feature_index, in hb_ot_layout_feature_get_lookups() 1345 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1705 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/print/harfbuzz/harfbuzz-3.4.0/src/ |
H A D | hb-ot-layout.cc | 637 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 642 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 784 feature_index, in hb_ot_layout_language_get_required_feature_index() 817 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 931 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 936 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 962 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 969 feature_index, in hb_ot_layout_feature_get_lookups() 1345 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1705 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/print/harfbuzz-icu/harfbuzz-3.4.0/src/ |
H A D | hb-ot-layout.cc | 637 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 642 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 784 feature_index, in hb_ot_layout_language_get_required_feature_index() 817 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 931 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 936 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 962 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 969 feature_index, in hb_ot_layout_feature_get_lookups() 1345 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1705 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/www/lagrange/lagrange-1.7.3/lib/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 637 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 642 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 779 feature_index, in hb_ot_layout_language_get_required_feature_index() 812 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 926 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 931 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 957 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 964 feature_index, in hb_ot_layout_feature_get_lookups() 1349 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1710 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 635 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 640 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 777 feature_index, in hb_ot_layout_language_get_required_feature_index() 810 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 924 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 929 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 955 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 962 feature_index, in hb_ot_layout_feature_get_lookups() 1319 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1679 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libharfbuzz/ |
H A D | hb-ot-layout.cc | 470 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 475 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 571 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 634 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 639 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 765 c->feature_indexes->add (feature_index); in langsys_collect_features() 864 for (hb_codepoint_t feature_index = HB_SET_VALUE_INVALID; in hb_ot_layout_collect_lookups() local 865 hb_set_next (&feature_indexes, &feature_index);) in hb_ot_layout_collect_lookups() 1203 hb_tag_t feature_tag = g.get_feature_tag (feature_index); in hb_ot_layout_feature_get_name_ids() 1204 const OT::Feature &f = g.get_feature (feature_index); in hb_ot_layout_feature_get_name_ids() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/native/libfontmanager/harfbuzz/ |
H A D | hb-ot-layout.cc | 470 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 475 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 571 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 634 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 639 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 765 c->feature_indexes->add (feature_index); in langsys_collect_features() 864 for (hb_codepoint_t feature_index = HB_SET_VALUE_INVALID; in hb_ot_layout_collect_lookups() local 865 hb_set_next (&feature_indexes, &feature_index);) in hb_ot_layout_collect_lookups() 1203 hb_tag_t feature_tag = g.get_feature_tag (feature_index); in hb_ot_layout_feature_get_name_ids() 1204 const OT::Feature &f = g.get_feature (feature_index); in hb_ot_layout_feature_get_name_ids() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/harfbuzz/src/ |
H A D | hb-ot-layout.cc | 633 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 638 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 773 feature_index, in hb_ot_layout_language_get_required_feature_index() 806 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 917 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 922 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 946 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 953 feature_index, in hb_ot_layout_feature_get_lookups() 1370 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1719 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/native/libharfbuzz/ |
H A D | hb-ot-layout.cc | 470 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 475 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 571 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 634 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 639 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 765 c->feature_indexes->add (feature_index); in langsys_collect_features() 864 for (hb_codepoint_t feature_index = HB_SET_VALUE_INVALID; in hb_ot_layout_collect_lookups() local 865 hb_set_next (&feature_indexes, &feature_index);) in hb_ot_layout_collect_lookups() 1203 hb_tag_t feature_tag = g.get_feature_tag (feature_index); in hb_ot_layout_feature_get_name_ids() 1204 const OT::Feature &f = g.get_feature (feature_index); in hb_ot_layout_feature_get_name_ids() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/harfbuzz-ng/src/src/ |
H A D | hb-ot-layout.cc | 633 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 638 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 773 feature_index, in hb_ot_layout_language_get_required_feature_index() 806 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 917 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 922 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 946 unsigned int feature_index, in hb_ot_layout_feature_get_lookups() argument 953 feature_index, in hb_ot_layout_feature_get_lookups() 1368 unsigned int feature_index, in hb_ot_layout_feature_with_variations_get_lookups() argument 1717 unsigned int feature_index, in hb_ot_layout_feature_get_name_ids() argument [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/native/libfontmanager/harfbuzz/ |
H A D | hb-ot-layout.cc | 470 if (feature_index) *feature_index = i; in hb_ot_layout_table_find_feature() 475 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_table_find_feature() 571 if (feature_index) *feature_index = index; in hb_ot_layout_language_get_required_feature() 634 if (feature_index) *feature_index = f_index; in hb_ot_layout_language_find_feature() 639 if (feature_index) *feature_index = HB_OT_LAYOUT_NO_FEATURE_INDEX; in hb_ot_layout_language_find_feature() 765 c->feature_indexes->add (feature_index); in langsys_collect_features() 864 for (hb_codepoint_t feature_index = HB_SET_VALUE_INVALID; in hb_ot_layout_collect_lookups() local 865 hb_set_next (&feature_indexes, &feature_index);) in hb_ot_layout_collect_lookups() 1203 hb_tag_t feature_tag = g.get_feature_tag (feature_index); in hb_ot_layout_feature_get_name_ids() 1204 const OT::Feature &f = g.get_feature (feature_index); in hb_ot_layout_feature_get_name_ids() [all …]
|