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

Function HasFeatureList

tensorflow/core/example/feature_util.cc:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool HasFeatureList(const string& key,
54 const SequenceExample& sequence_example) {
55 auto& feature_list = sequence_example.feature_lists().feature_list();
56 return (feature_list.find(key) != feature_list.end());
57}
58
59template <>
60const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>(

Callers 1

TESTFunction · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.68