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

Function HasFeature

tensorflow/core/example/feature_util.h:397–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395// specialized versions return false if the feature has a wrong type.
396template <typename... FeatureType>
397bool HasFeature(const string& key, const Example& example) {
398 return HasFeature<FeatureType...>(key, GetFeatures(example));
399}
400
401// TODO(gorban): update all clients in a followup CL.
402template <typename... FeatureType>

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68