MCPcopy Create free account
hub / github.com/creatale/node-dv / MapIndexFeature

Method MapIndexFeature

deps/tesseract/classify/intfeaturemap.cpp:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 return feature_map_.SparseToCompact(feature_space_.Index(f));
52}
53int IntFeatureMap::MapIndexFeature(int index_feature) const {
54 return feature_map_.SparseToCompact(index_feature);
55}
56INT_FEATURE_STRUCT IntFeatureMap::InverseIndexFeature(int index_feature) const {
57 return feature_space_.PositionFromIndex(index_feature);
58}

Callers

nothing calls this directly

Calls 1

SparseToCompactMethod · 0.45

Tested by

no test coverage detected