final class FeatureCoverageConstraints extends GeneratedMessageV3 with FeatureCoverageConstraintsOrBuilder
Encodes vocabulary coverage constraints.
Protobuf type tensorflow.metadata.v0.FeatureCoverageConstraints
- Alphabetic
- By Inheritance
- FeatureCoverageConstraints
- FeatureCoverageConstraintsOrBuilder
- GeneratedMessageV3
- 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]) @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 finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
- def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDefaultInstanceForType(): FeatureCoverageConstraints
- Definition Classes
- FeatureCoverageConstraints → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
- def getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessageV3 → 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
- GeneratedMessageV3 → 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
- GeneratedMessageV3 → 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 → GeneratedMessageV3 → Message → MessageLite
- Annotations
- @Override()
- def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def getSerializedSize(): Int
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
- def hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → 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
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
- def hashCode(): Int
- Definition Classes
- FeatureCoverageConstraints → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
- def internalGetFieldAccessorTable(): FieldAccessorTable
- Attributes
- protected[v0]
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessageV3
- Annotations
- @Override()
- def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- final def isInitialized(): Boolean
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeExtensionsImmutable(): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[v0]
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessageV3
- Annotations
- @Override()
- def newBuilderForType(): Builder
- Definition Classes
- FeatureCoverageConstraints → Message → MessageLite
- Annotations
- @Override()
- def newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3 → AbstractMessage
- def newInstance(unused: UnusedPrivateParameter): AnyRef
- Attributes
- protected[v0]
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessageV3
- Annotations
- @Override() @SuppressWarnings()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.IOException])
- def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- 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(): 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()
- def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
- def writeReplace(): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[java.io.ObjectStreamException])
- def writeTo(output: CodedOutputStream): Unit
- Definition Classes
- FeatureCoverageConstraints → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
- def writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws(classOf[java.io.IOException])
Deprecated Value Members
- def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @Deprecated
- Deprecated
- def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
- Deprecated