final class FeatureCoverageConstraints extends GeneratedMessage with FeatureCoverageConstraintsOrBuilder
Encodes vocabulary coverage constraints.
Protobuf type tensorflow.metadata.v0.FeatureCoverageConstraints
- Annotations
- @Generated()
- Source
- FeatureCoverageConstraints.java
- Alphabetic
- By Inheritance
- FeatureCoverageConstraints
- FeatureCoverageConstraintsOrBuilder
- GeneratedMessage
- Serializable
- AbstractMessage
- Message
- MessageOrBuilder
- AbstractMessageLite
- MessageLite
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: AnyRef): Boolean
- Definition Classes
- FeatureCoverageConstraints → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getDefaultInstanceForType(): FeatureCoverageConstraints
- Definition Classes
- FeatureCoverageConstraints → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
- def getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getExcludedIntTokens(index: Int): Long
Integer tokens to exclude when calculating min_coverage and min_avg_token_length.
Integer tokens to exclude when calculating min_coverage and min_avg_token_length.
repeated int64 excluded_int_tokens = 4 [packed = true];- index
The index of the element to return.
- returns
The excludedIntTokens at the given index.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getExcludedIntTokensCount(): Int
Integer tokens to exclude when calculating min_coverage and min_avg_token_length.
Integer tokens to exclude when calculating min_coverage and min_avg_token_length.
repeated int64 excluded_int_tokens = 4 [packed = true];- returns
The count of excludedIntTokens.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getExcludedIntTokensList(): List[Long]
Integer tokens to exclude when calculating min_coverage and min_avg_token_length.
Integer tokens to exclude when calculating min_coverage and min_avg_token_length.
repeated int64 excluded_int_tokens = 4 [packed = true];- returns
A list containing the excludedIntTokens.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- Annotations
- @Override()
- def getExcludedStringTokens(index: Int): String
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
repeated string excluded_string_tokens = 3;- index
The index of the element to return.
- returns
The excludedStringTokens at the given index.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getExcludedStringTokensBytes(index: Int): ByteString
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
repeated string excluded_string_tokens = 3;- index
The index of the value to return.
- returns
The bytes of the excludedStringTokens at the given index.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getExcludedStringTokensCount(): Int
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
repeated string excluded_string_tokens = 3;- returns
The count of excludedStringTokens.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getExcludedStringTokensList(): ProtocolStringList
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
String tokens to exclude when calculating min_coverage and min_avg_token_length. Useful for tokens such as [PAD].
repeated string excluded_string_tokens = 3;- returns
A list containing the excludedStringTokens.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getInitializationErrorString(): String
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getMinAvgTokenLength(): Float
Average length of tokens. Used for cases such as wordpiece that fallback to character-level tokenization.
Average length of tokens. Used for cases such as wordpiece that fallback to character-level tokenization.
optional float min_avg_token_length = 2;- returns
The minAvgTokenLength.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- Annotations
- @Override()
- def getMinCoverage(): Float
Fraction of feature values that map to a vocab entry (i.e. are not oov).
Fraction of feature values that map to a vocab entry (i.e. are not oov).
optional float min_coverage = 1;- returns
The minCoverage.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- Annotations
- @Override()
- def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- GeneratedMessage → AbstractMessage → MessageOrBuilder
- def getOovStringTokens(index: Int): String
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
repeated string oov_string_tokens = 5;- index
The index of the element to return.
- returns
The oovStringTokens at the given index.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getOovStringTokensBytes(index: Int): ByteString
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
repeated string oov_string_tokens = 5;- index
The index of the value to return.
- returns
The bytes of the oovStringTokens at the given index.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getOovStringTokensCount(): Int
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
repeated string oov_string_tokens = 5;- returns
The count of oovStringTokens.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getOovStringTokensList(): ProtocolStringList
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
String tokens to treat as oov tokens (e.g. [UNK]). These tokens are also excluded when calculating avg token length.
repeated string oov_string_tokens = 5;- returns
A list containing the oovStringTokens.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- def getParserForType(): Parser[FeatureCoverageConstraints]
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessage → Message → MessageLite
- Annotations
- @Override()
- def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def getSerializedSize(): Int
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessage → AbstractMessage → MessageLite
- Annotations
- @Override()
- def getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessage → MessageOrBuilder
- def hasMinAvgTokenLength(): Boolean
Average length of tokens. Used for cases such as wordpiece that fallback to character-level tokenization.
Average length of tokens. Used for cases such as wordpiece that fallback to character-level tokenization.
optional float min_avg_token_length = 2;- returns
Whether the minAvgTokenLength field is set.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- Annotations
- @Override()
- def hasMinCoverage(): Boolean
Fraction of feature values that map to a vocab entry (i.e. are not oov).
Fraction of feature values that map to a vocab entry (i.e. are not oov).
optional float min_coverage = 1;- returns
Whether the minCoverage field is set.
- Definition Classes
- FeatureCoverageConstraints → FeatureCoverageConstraintsOrBuilder
- Annotations
- @Override()
- def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- GeneratedMessage → AbstractMessage → MessageOrBuilder
- def hashCode(): Int
- Definition Classes
- FeatureCoverageConstraints → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def internalGetFieldAccessorTable(): FieldAccessorTable
- Attributes
- protected[v0]
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessage
- Annotations
- @Override()
- def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- final def isInitialized(): Boolean
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessage → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeExtensionsImmutable(): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[v0]
- Definition Classes
- FeatureCoverageConstraints → AbstractMessage
- Annotations
- @Override()
- def newBuilderForType(): Builder
- Definition Classes
- FeatureCoverageConstraints → Message → MessageLite
- Annotations
- @Override()
- def newInstance(unused: UnusedPrivateParameter): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[java.io.IOException])
- def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[java.io.IOException])
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBuilder(): Builder
- Definition Classes
- FeatureCoverageConstraints → Message → MessageLite
- Annotations
- @Override()
- def toByteArray(): Array[Byte]
- Definition Classes
- AbstractMessageLite → MessageLite
- def toByteString(): ByteString
- Definition Classes
- AbstractMessageLite → MessageLite
- final def toString(): String
- Definition Classes
- AbstractMessage → Message → AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
- def writeReplace(): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[java.io.ObjectStreamException])
- def writeTo(output: CodedOutputStream): Unit
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessage → AbstractMessage → MessageLite
- Annotations
- @Override()
- def writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @Deprecated
- Deprecated
- def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessage
- Annotations
- @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
- Deprecated