MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AppendFeatureValues

Function AppendFeatureValues

tensorflow/core/example/feature_util.h:274–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273template <typename IteratorType>
274void AppendFeatureValues(IteratorType first, IteratorType last,
275 Feature* feature) {
276 using FeatureType = typename internal::FeatureTrait<
277 typename std::iterator_traits<IteratorType>::value_type>::Type;
278 std::copy(first, last,
279 protobuf::RepeatedFieldBackInserter(
280 GetFeatureValues<FeatureType>(feature)));
281}
282
283template <typename ValueType>
284void AppendFeatureValues(std::initializer_list<ValueType> container,

Callers 2

TESTFunction · 0.85
SetFeatureValuesFunction · 0.85

Calls 4

GetFeatureFunction · 0.85
copyFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.68