Searched refs:FeatureType (Results 1 – 5 of 5) sorted by relevance
125 template <typename FeatureType>208 template <typename FeatureType>209 const typename internal::RepeatedFieldTrait<FeatureType>::Type&214 template <typename FeatureType, typename ProtoType>215 const typename internal::RepeatedFieldTrait<FeatureType>::Type&217 return GetFeatureValues<FeatureType>(GetFeatures(proto).feature().at(key));221 template <typename FeatureType>222 typename internal::RepeatedFieldTrait<FeatureType>::Type* GetFeatureValues(227 template <typename FeatureType, typename ProtoType>228 typename internal::RepeatedFieldTrait<FeatureType>::Type* GetFeatureValues([all …]
44 class FeatureType {47 explicit FeatureType(const string &name) in FeatureType() function52 virtual ~FeatureType() {} in ~FeatureType()92 class EnumFeatureType : public FeatureType {96 : FeatureType(name), value_names_(value_names) { in EnumFeatureType()128 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()
82 void add(FeatureType *type, FeatureValue value) { in add()96 FeatureType *type(int index) const { return features_[index].type; } in type()105 Element(FeatureType *t, FeatureValue v) : type(t), value(v) {} in Element()107 FeatureType *type;154 virtual void GetFeatureTypes(std::vector<FeatureType *> *types) const = 0;164 std::vector<FeatureType *> feature_types_;201 virtual void GetFeatureTypes(std::vector<FeatureType *> *types) const;206 virtual FeatureType *GetFeatureType() const;267 FeatureType *feature_type() const { return feature_type_; } in feature_type()271 void set_feature_type(FeatureType *feature_type) { in set_feature_type()[all …]
50 FeatureType *ft = feature_types_[i]; in InitializeFeatureTypes()107 std::vector<FeatureType *> *types) const { in GetFeatureTypes()111 FeatureType *GenericFeatureFunction::GetFeatureType() const { in GetFeatureType()116 std::vector<FeatureType *> types; in GetFeatureType()
166 const FeatureType *feature_type = feature_vector.type(fi); in ConcatEmbeddings()