trait SparseFeatureOrBuilder extends MessageOrBuilder
- Alphabetic
- By Inheritance
- SparseFeatureOrBuilder
- MessageOrBuilder
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def findInitializationErrors(): List[String]
- Definition Classes
- MessageOrBuilder
- abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- MessageOrBuilder
- abstract def getDefaultInstanceForType(): Message
- Definition Classes
- MessageOrBuilder → MessageLiteOrBuilder
- abstract def getDenseShape(): FixedShape
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
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;
- returns
The denseShape.
- abstract def getDenseShapeOrBuilder(): FixedShapeOrBuilder
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
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;
- abstract def getDescriptorForType(): Descriptor
- Definition Classes
- MessageOrBuilder
- abstract def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getIndexFeature(index: Int): IndexFeature
Features that represent indexes. Should be integers >= 0.
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;
- abstract def getIndexFeatureCount(): Int
Features that represent indexes. Should be integers >= 0.
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;
- abstract def getIndexFeatureList(): List[IndexFeature]
Features that represent indexes. Should be integers >= 0.
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;
- abstract def getIndexFeatureOrBuilder(index: Int): IndexFeatureOrBuilder
Features that represent indexes. Should be integers >= 0.
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;
- abstract def getIndexFeatureOrBuilderList(): List[_ <: IndexFeatureOrBuilder]
Features that represent indexes. Should be integers >= 0.
Features that represent indexes. Should be integers >= 0.
repeated .tensorflow.metadata.v0.SparseFeature.IndexFeature index_feature = 6;
- abstract def getInitializationErrorString(): String
- Definition Classes
- MessageOrBuilder
- abstract def getIsSorted(): Boolean
If true then the index values are already sorted lexicographically.
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;
- returns
The isSorted.
- abstract def getLifecycleStage(): LifecycleStage
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
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;
- returns
The lifecycleStage.
- abstract def getName(): String
Name for the sparse feature. This should not clash with other features in the same schema.
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;
- returns
The name.
- abstract def getNameBytes(): ByteString
Name for the sparse feature. This should not clash with other features in the same schema.
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;
- returns
The bytes for name.
- abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- MessageOrBuilder
- abstract def getUnknownFields(): UnknownFieldSet
- Definition Classes
- MessageOrBuilder
- abstract def getValueFeature(): ValueFeature
required
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;
- returns
The valueFeature.
- abstract def getValueFeatureOrBuilder(): ValueFeatureOrBuilder
required
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;
- abstract def hasDenseShape(): Boolean
Shape of the sparse tensor that this SparseFeature represents. Currently not supported. TODO(b/109669962): Consider deriving this from the referred features.
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;
- returns
Whether the denseShape field is set.
- abstract def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasIsSorted(): Boolean
If true then the index values are already sorted lexicographically.
If true then the index values are already sorted lexicographically.
optional bool is_sorted = 8;
- returns
Whether the isSorted field is set.
- abstract def hasLifecycleStage(): Boolean
The lifecycle_stage determines where a feature is expected to be used, and therefore how important issues with it are.
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;
- returns
Whether the lifecycleStage field is set.
- abstract def hasName(): Boolean
Name for the sparse feature. This should not clash with other features in the same schema.
Name for the sparse feature. This should not clash with other features in the same schema.
optional string name = 1;
- returns
Whether the name field is set.
- abstract def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasValueFeature(): Boolean
required
required
optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;
- returns
Whether the valueFeature field is set.
- abstract def isInitialized(): Boolean
- Definition Classes
- MessageLiteOrBuilder
- abstract def getDeprecated(): Boolean
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];
- returns
The deprecated.
- Annotations
- @Deprecated
- Deprecated
- abstract def getPresence(): FeaturePresence
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
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];
- returns
The presence.
- Annotations
- @Deprecated
- Deprecated
- abstract def getPresenceOrBuilder(): FeaturePresenceOrBuilder
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
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];
- Annotations
- @Deprecated
- Deprecated
- abstract def getType(): FeatureType
Type of value feature. Deprecated, this is inferred by the referred features.
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];
- returns
The type.
- Annotations
- @Deprecated
- Deprecated
- abstract def hasDeprecated(): Boolean
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
This field is no longer supported. Instead, use: lifecycle_stage: DEPRECATED TODO(b/111450258): remove this.
optional bool deprecated = 2 [deprecated = true];
- returns
Whether the deprecated field is set.
- Annotations
- @Deprecated
- Deprecated
- abstract def hasPresence(): Boolean
Constraints on the presence of this feature in examples. Deprecated, this is inferred by the referred features.
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];
- returns
Whether the presence field is set.
- Annotations
- @Deprecated
- Deprecated
- abstract def hasType(): Boolean
Type of value feature. Deprecated, this is inferred by the referred features.
Type of value feature. Deprecated, this is inferred by the referred features.
optional .tensorflow.metadata.v0.FeatureType type = 10 [deprecated = true];
- returns
Whether the type field is set.
- Annotations
- @Deprecated
- Deprecated
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()