public interface SparseFeatureOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
FixedShape |
getDenseShape()
Shape of the sparse tensor that this SparseFeature represents.
|
FixedShapeOrBuilder |
getDenseShapeOrBuilder()
Shape of the sparse tensor that this SparseFeature represents.
|
boolean |
getDeprecated()
Deprecated.
|
SparseFeature.IndexFeature |
getIndexFeature(int index)
Features that represent indexes.
|
int |
getIndexFeatureCount()
Features that represent indexes.
|
List<SparseFeature.IndexFeature> |
getIndexFeatureList()
Features that represent indexes.
|
SparseFeature.IndexFeatureOrBuilder |
getIndexFeatureOrBuilder(int index)
Features that represent indexes.
|
List<? extends SparseFeature.IndexFeatureOrBuilder> |
getIndexFeatureOrBuilderList()
Features that represent indexes.
|
boolean |
getIsSorted()
If true then the index values are already sorted lexicographically.
|
LifecycleStage |
getLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used,
and therefore how important issues with it are.
|
String |
getName()
Name for the sparse feature.
|
com.google.protobuf.ByteString |
getNameBytes()
Name for the sparse feature.
|
FeaturePresence |
getPresence()
Deprecated.
|
FeaturePresenceOrBuilder |
getPresenceOrBuilder()
Deprecated.
|
FeatureType |
getType()
Deprecated.
|
SparseFeature.ValueFeature |
getValueFeature()
required
|
SparseFeature.ValueFeatureOrBuilder |
getValueFeatureOrBuilder()
required
|
boolean |
hasDenseShape()
Shape of the sparse tensor that this SparseFeature represents.
|
boolean |
hasDeprecated()
Deprecated.
|
boolean |
hasIsSorted()
If true then the index values are already sorted lexicographically.
|
boolean |
hasLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used,
and therefore how important issues with it are.
|
boolean |
hasName()
Name for the sparse feature.
|
boolean |
hasPresence()
Deprecated.
|
boolean |
hasType()
Deprecated.
|
boolean |
hasValueFeature()
required
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasName()
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;String getName()
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;com.google.protobuf.ByteString getNameBytes()
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;@Deprecated boolean hasDeprecated()
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];@Deprecated boolean getDeprecated()
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];boolean hasLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7;LifecycleStage getLifecycleStage()
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
optional .tensorflow.metadata.v0.LifecycleStage lifecycle_stage = 7;@Deprecated boolean hasPresence()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];@Deprecated FeaturePresence getPresence()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];@Deprecated FeaturePresenceOrBuilder getPresenceOrBuilder()
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeaturePresence presence = 4 [deprecated = true];boolean hasDenseShape()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;FixedShape getDenseShape()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;FixedShapeOrBuilder getDenseShapeOrBuilder()
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
optional .tensorflow.metadata.v0.FixedShape dense_shape = 5;List<SparseFeature.IndexFeature> getIndexFeatureList()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;SparseFeature.IndexFeature getIndexFeature(int index)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;int getIndexFeatureCount()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;List<? extends SparseFeature.IndexFeatureOrBuilder> getIndexFeatureOrBuilderList()
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;SparseFeature.IndexFeatureOrBuilder getIndexFeatureOrBuilder(int index)
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;boolean hasIsSorted()
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;boolean getIsSorted()
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;boolean hasValueFeature()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;SparseFeature.ValueFeature getValueFeature()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;SparseFeature.ValueFeatureOrBuilder getValueFeatureOrBuilder()
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;@Deprecated boolean hasType()
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];@Deprecated FeatureType getType()
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];Copyright © 2020 Gojek. All rights reserved.