Package org.tensorflow.example
Interface FeaturesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Features,Features.Builder
public interface FeaturesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsFeature(String key) Map from feature name to feature.Deprecated.intMap from feature name to feature.Map from feature name to feature.getFeatureOrDefault(String key, Feature defaultValue) Map from feature name to feature.getFeatureOrThrow(String key) Map from feature name to feature.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFeatureCount
int getFeatureCount()Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1; -
containsFeature
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1; -
getFeature
Deprecated.UsegetFeatureMap()instead. -
getFeatureMap
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1; -
getFeatureOrDefault
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1; -
getFeatureOrThrow
Map from feature name to feature.
map<string, .tensorflow.Feature> feature = 1;
-