Packages

t

org.tensorflow.metadata.v0

SparseFeatureOrBuilder

trait SparseFeatureOrBuilder extends MessageOrBuilder

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparseFeatureOrBuilder
  2. MessageOrBuilder
  3. MessageLiteOrBuilder
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def findInitializationErrors(): List[String]
    Definition Classes
    MessageOrBuilder
  2. abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    MessageOrBuilder
  3. abstract def getDefaultInstanceForType(): Message
    Definition Classes
    MessageOrBuilder → MessageLiteOrBuilder
  4. 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.

  5. 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;

  6. abstract def getDescriptorForType(): Descriptor
    Definition Classes
    MessageOrBuilder
  7. abstract def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    MessageOrBuilder
  8. 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;

  9. 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;

  10. 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;

  11. 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;

  12. 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;

  13. abstract def getInitializationErrorString(): String
    Definition Classes
    MessageOrBuilder
  14. 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.

  15. 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.

  16. 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.

  17. 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.

  18. abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    MessageOrBuilder
  19. abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    MessageOrBuilder
  20. abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    MessageOrBuilder
  21. abstract def getUnknownFields(): UnknownFieldSet
    Definition Classes
    MessageOrBuilder
  22. abstract def getValueFeature(): ValueFeature

    required
    

    required
    

    optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;

    returns

    The valueFeature.

  23. abstract def getValueFeatureOrBuilder(): ValueFeatureOrBuilder

    required
    

    required
    

    optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;

  24. 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.

  25. abstract def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  26. 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.

  27. 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.

  28. 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.

  29. abstract def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  30. abstract def hasValueFeature(): Boolean

    required
    

    required
    

    optional .tensorflow.metadata.v0.SparseFeature.ValueFeature value_feature = 9;

    returns

    Whether the valueFeature field is set.

  31. abstract def isInitialized(): Boolean
    Definition Classes
    MessageLiteOrBuilder
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from MessageOrBuilder

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped