Searched refs:FeatureValue (Results 1 – 4 of 4) sorted by relevance
37 typedef Predicate FeatureValue; typedef55 virtual string GetFeatureValueName(FeatureValue value) const = 0;95 const std::map<FeatureValue, string> &value_names) in EnumFeatureType() argument105 string GetFeatureValueName(FeatureValue value) const override { in GetFeatureValueName()117 FeatureValue GetDomainSize() const override { return domain_size_; } in GetDomainSize()121 FeatureValue domain_size_ = 0;124 std::map<FeatureValue, string> value_names_;134 string GetFeatureValueName(FeatureValue value) const override { in GetFeatureValueName()141 FeatureValue GetDomainSize() const override { return 2; } in GetDomainSize()153 NumericFeatureType(const string &name, FeatureValue size) in NumericFeatureType()[all …]
62 typedef Predicate FeatureValue; typedef67 explicit FloatFeatureValue(FeatureValue v) : discrete_value(v) {} in FloatFeatureValue()69 FeatureValue discrete_value;82 void add(FeatureType *type, FeatureValue value) { in add()99 FeatureValue value(int index) const { return features_[index].value; } in value()105 Element(FeatureType *t, FeatureValue v) : type(t), value(v) {} in Element()108 FeatureValue value;174 static constexpr FeatureValue kNone = -1;322 FeatureValue value = Compute(workspaces, object, args...); in Evaluate()329 virtual FeatureValue Compute(const WorkspaceSet &workspaces, in Compute()[all …]
27 constexpr FeatureValue GenericFeatureFunction::kNone;
177 const FeatureValue feature_value = feature_vector.value(fi); in ConcatEmbeddings()