| 51 | } |
| 52 | |
| 53 | bool 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 | |
| 59 | template <> |
| 60 | const protobuf::RepeatedField<protobuf_int64>& GetFeatureValues<protobuf_int64>( |