Home
last modified time | relevance | path

Searched refs:GetFeatureValues (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/example/
Dfeature_util_test.cc34 auto tag = GetFeatureValues<protobuf_int64>("tag", example); in TEST()
44 auto values = GetFeatureValues<protobuf_int64>(feature); in TEST()
53 GetFeatureValues<protobuf_int64>("tag", &example)->Add(42); in TEST()
63 GetFeatureValues<protobuf_int64>(&feature)->Add(42); in TEST()
73 GetFeatureValues<protobuf_int64>("tag", &example)->Add(0); in TEST()
81 GetFeatureValues<float>("tag", &example)->Add(3.14); in TEST()
84 GetFeatureValues<protobuf_int64>("tag", &example)->Add(42); in TEST()
87 auto tag_ro = GetFeatureValues<protobuf_int64>("tag", example); in TEST()
98 GetFeatureValues<protobuf_int64>("tag", &example))); in TEST()
100 auto tag_ro = GetFeatureValues<protobuf_int64>("tag", example); in TEST()
[all …]
Dfeature_util.cc60 const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>( in GetFeatureValues() function
66 protobuf::RepeatedField<protobuf_int64>* GetFeatureValues<protobuf_int64>( in GetFeatureValues() function
72 const protobuf::RepeatedField<float>& GetFeatureValues<float>( in GetFeatureValues() function
78 protobuf::RepeatedField<float>* GetFeatureValues<float>(Feature* feature) { in GetFeatureValues() function
83 const protobuf::RepeatedPtrField<string>& GetFeatureValues<string>( in GetFeatureValues() function
89 protobuf::RepeatedPtrField<string>* GetFeatureValues<string>(Feature* feature) { in GetFeatureValues() function
126 const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>(
130 protobuf::RepeatedField<protobuf_int64>* GetFeatureValues<protobuf_int64>(
134 const protobuf::RepeatedField<float>& GetFeatureValues<float>(
138 protobuf::RepeatedField<float>* GetFeatureValues<float>(Feature* feature);
[all …]
Dfeature_util.h210 GetFeatureValues(const Feature& feature);
216 GetFeatureValues(const string& key, const ProtoType& proto) {
217 return GetFeatureValues<FeatureType>(GetFeatures(proto).feature().at(key));
222 typename internal::RepeatedFieldTrait<FeatureType>::Type* GetFeatureValues(
228 typename internal::RepeatedFieldTrait<FeatureType>::Type* GetFeatureValues(
232 return GetFeatureValues<FeatureType>(&feature);
258 GetFeatureValues<FeatureType>(feature)));