Searched refs:FeatureType (Results 1 – 4 of 4) sorted by relevance
44 class FeatureType {47 explicit FeatureType(const std::string &name) in FeatureType() function52 virtual ~FeatureType() {} in ~FeatureType()92 class EnumFeatureType : public FeatureType {96 : FeatureType(name), value_names_(value_names) { in EnumFeatureType()127 class BinaryFeatureType : public FeatureType {131 : FeatureType(name), off_(off), on_(on) {} in BinaryFeatureType()150 class NumericFeatureType : public FeatureType {154 : FeatureType(name), size_(size) {} in NumericFeatureType()
80 void add(FeatureType *type, FeatureValue value) { in add()94 FeatureType *type(int index) const { return features_[index].type; } in type()103 Element(FeatureType *t, FeatureValue v) : type(t), value(v) {} in Element()105 FeatureType *type;140 const FeatureType *feature_type(int index) const { in feature_type()162 virtual void GetFeatureTypes(std::vector<FeatureType *> *types) const = 0;172 std::vector<FeatureType *> feature_types_;209 virtual void GetFeatureTypes(std::vector<FeatureType *> *types) const;214 virtual FeatureType *GetFeatureType() const;279 FeatureType *feature_type() const { return feature_type_; } in feature_type()[all …]
49 FeatureType *ft = feature_types_[i]; in InitializeFeatureTypes()68 FeatureType *ft = feature_types_[i]; in GetDomainSize()120 std::vector<FeatureType *> *types) const { in GetFeatureTypes()124 FeatureType *GenericFeatureFunction::GetFeatureType() const { in GetFeatureType()129 std::vector<FeatureType *> types; in GetFeatureType()
180 const FeatureType *feature_type = feature_vector.type(fi); in GetEmbeddingInternal()