OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FeatureValue
(Results
1 - 6
of
6
) sorted by null
/external/libtextclassifier/common/
feature-types.h
37
typedef Predicate
FeatureValue
;
55
virtual std::string GetFeatureValueName(
FeatureValue
value) const = 0;
80
// Feature type that is defined using an explicit map from
FeatureValue
to
85
// enum
FeatureValue
{ SMALL, MEDIUM, LARGE }; // values for this feature
95
const std::map<
FeatureValue
, std::string> &value_names)
105
std::string GetFeatureValueName(
FeatureValue
value) const override {
116
FeatureValue
GetDomainSize() const override { return domain_size_; }
120
FeatureValue
domain_size_ = 0;
123
std::map<
FeatureValue
, std::string> value_names_;
134
std::string GetFeatureValueName(
FeatureValue
value) const override
[
all
...]
feature-extractor.cc
29
constexpr
FeatureValue
GenericFeatureFunction::kNone;
63
FeatureValue
GenericFeatureExtractor::GetDomainSize() const {
66
FeatureValue
max_feature_type_dsize = 0;
69
const
FeatureValue
feature_type_dsize = ft->GetDomainSize();
feature-extractor.h
60
typedef Predicate
FeatureValue
;
65
explicit FloatFeatureValue(
FeatureValue
v) : discrete_value(v) {}
67
FeatureValue
discrete_value;
80
void add(FeatureType *type,
FeatureValue
value) {
97
FeatureValue
value(int index) const { return features_[index].value; }
103
Element(FeatureType *t,
FeatureValue
v) : type(t), value(v) {}
106
FeatureValue
value;
147
FeatureValue
GetDomainSize() const;
184
static constexpr
FeatureValue
kNone = -1;
331
FeatureValue
value = Compute(workspaces, object, args..., result)
[
all
...]
embedding-network.cc
181
const
FeatureValue
feature_value = feature_vector.value(fi);
/hardware/libhardware/modules/sensors/dynamic_sensor/
HidRawSensor.h
72
struct
FeatureValue
{
112
FeatureValue
*
featureValue
, const HidDevice::HidDeviceInfo &info);
116
FeatureValue
*
featureValue
, const std::vector<HidParser::ReportPacket> &packets);
153
FeatureValue
mFeatureInfo;
HidRawSensor.cpp
414
FeatureValue
*
featureValue
, const HidDevice::HidDeviceInfo &info) {
415
featureValue
->name = info.name;
421
featureValue
->vendor = ss.str();
423
featureValue
->permission = "";
424
featureValue
->typeString = "";
425
featureValue
->type = -1; // invalid type
426
featureValue
->version = 1;
428
featureValue
->maxRange = -1.f;
429
featureValue
->resolution = FLT_MAX
[
all
...]
Completed in 106 milliseconds