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.cc67 const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>( in GetFeatureValues() function
73 protobuf::RepeatedField<protobuf_int64>* GetFeatureValues<protobuf_int64>( in GetFeatureValues() function
79 const protobuf::RepeatedField<float>& GetFeatureValues<float>( in GetFeatureValues() function
85 protobuf::RepeatedField<float>* GetFeatureValues<float>(Feature* feature) { in GetFeatureValues() function
90 const protobuf::RepeatedPtrField<string>& GetFeatureValues<tstring>( in GetFeatureValues() function
96 const protobuf::RepeatedPtrField<string>& GetFeatureValues<string>( in GetFeatureValues() function
102 protobuf::RepeatedPtrField<string>* GetFeatureValues<tstring>( in GetFeatureValues() function
108 protobuf::RepeatedPtrField<string>* GetFeatureValues<string>(Feature* feature) { in GetFeatureValues() function
165 const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>(
169 protobuf::RepeatedField<protobuf_int64>* GetFeatureValues<protobuf_int64>(
[all …]
Dfeature_util.h232 GetFeatureValues(const Feature& feature);
238 GetFeatureValues(const string& key, const ProtoType& proto) {
239 return GetFeatureValues<FeatureType>(GetFeatures(proto).feature().at(key));
244 typename internal::RepeatedFieldTrait<FeatureType>::Type* GetFeatureValues(
250 typename internal::RepeatedFieldTrait<FeatureType>::Type* GetFeatureValues(
254 return GetFeatureValues<FeatureType>(&feature);
288 GetFeatureValues<FeatureType>(feature)));