trait FeatureCoverageConstraintsOrBuilder extends MessageOrBuilder
- Alphabetic
- By Inheritance
- FeatureCoverageConstraintsOrBuilder
- 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 getDescriptorForType(): Descriptor
- Definition Classes
- MessageOrBuilder
- abstract 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.
- abstract 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.
- abstract 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.
- abstract 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.
- abstract 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.
- abstract 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.
- abstract def getExcludedStringTokensList(): List[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;
- returns
A list containing the excludedStringTokens.
- abstract def getField(field: FieldDescriptor): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getInitializationErrorString(): String
- Definition Classes
- MessageOrBuilder
- abstract 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.
- abstract 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.
- abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- MessageOrBuilder
- abstract 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.
- abstract 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.
- abstract 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.
- abstract def getOovStringTokensList(): List[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;
- returns
A list containing the oovStringTokens.
- 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 hasField(field: FieldDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract 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.
- abstract 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.
- abstract def hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def isInitialized(): Boolean
- Definition Classes
- MessageLiteOrBuilder
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()