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

Function GetFeature

tensorflow/core/example/feature_util.h:260–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258// necessary. Supported types for the proto: Example, Features.
259template <typename ProtoType>
260Feature* GetFeature(const string& key, ProtoType* proto) {
261 return &(*GetFeatures(proto)->mutable_feature())[key];
262}
263
264// Returns a repeated field with features corresponding to a feature_list key.
265const protobuf::RepeatedPtrField<Feature>& GetFeatureList(

Callers 4

feature_util.ccFile · 0.85
TESTFunction · 0.85
AppendFeatureValuesFunction · 0.85
SetFeatureValuesFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68