Packages

t

org.tensorflow.metadata.v0

FeatureCoverageConstraintsOrBuilder

trait FeatureCoverageConstraintsOrBuilder extends MessageOrBuilder

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FeatureCoverageConstraintsOrBuilder
  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 getDescriptorForType(): Descriptor
    Definition Classes
    MessageOrBuilder
  5. 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.

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

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

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

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

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

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

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

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

  16. abstract def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    MessageOrBuilder
  17. 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.

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

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

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

  21. abstract def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    MessageOrBuilder
  22. abstract def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    MessageOrBuilder
  23. abstract def getUnknownFields(): UnknownFieldSet
    Definition Classes
    MessageOrBuilder
  24. abstract def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  25. 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.

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

  27. abstract def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    MessageOrBuilder
  28. abstract def isInitialized(): Boolean
    Definition Classes
    MessageLiteOrBuilder