org.tensorflow.metadata.v0.FeatureCoverageConstraintsOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow_metadata/proto/v0/schema.proto
// Protobuf Java Version: 3.25.4
package org.tensorflow.metadata.v0;
public interface FeatureCoverageConstraintsOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.metadata.v0.FeatureCoverageConstraints)
com.google.protobuf.MessageOrBuilder {
/**
*
* Fraction of feature values that map to a vocab entry (i.e. are not oov).
*
*
* optional float min_coverage = 1;
* @return Whether the minCoverage field is set.
*/
boolean hasMinCoverage();
/**
*
* Fraction of feature values that map to a vocab entry (i.e. are not oov).
*
*
* optional float min_coverage = 1;
* @return The minCoverage.
*/
float getMinCoverage();
/**
*
* Average length of tokens. Used for cases such as wordpiece that fallback
* to character-level tokenization.
*
*
* optional float min_avg_token_length = 2;
* @return Whether the minAvgTokenLength field is set.
*/
boolean hasMinAvgTokenLength();
/**
*
* Average length of tokens. Used for cases such as wordpiece that fallback
* to character-level tokenization.
*
*
* optional float min_avg_token_length = 2;
* @return The minAvgTokenLength.
*/
float getMinAvgTokenLength();
/**
*
* 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;
* @return A list containing the excludedStringTokens.
*/
java.util.List
getExcludedStringTokensList();
/**
*
* 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;
* @return The count of excludedStringTokens.
*/
int getExcludedStringTokensCount();
/**
*
* 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;
* @param index The index of the element to return.
* @return The excludedStringTokens at the given index.
*/
java.lang.String getExcludedStringTokens(int index);
/**
*
* 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;
* @param index The index of the value to return.
* @return The bytes of the excludedStringTokens at the given index.
*/
com.google.protobuf.ByteString
getExcludedStringTokensBytes(int index);
/**
*
* Integer tokens to exclude when calculating min_coverage and
* min_avg_token_length.
*
*
* repeated int64 excluded_int_tokens = 4 [packed = true];
* @return A list containing the excludedIntTokens.
*/
java.util.List getExcludedIntTokensList();
/**
*
* Integer tokens to exclude when calculating min_coverage and
* min_avg_token_length.
*
*
* repeated int64 excluded_int_tokens = 4 [packed = true];
* @return The count of excludedIntTokens.
*/
int getExcludedIntTokensCount();
/**
*
* Integer tokens to exclude when calculating min_coverage and
* min_avg_token_length.
*
*
* repeated int64 excluded_int_tokens = 4 [packed = true];
* @param index The index of the element to return.
* @return The excludedIntTokens at the given index.
*/
long getExcludedIntTokens(int index);
/**
*
* 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;
* @return A list containing the oovStringTokens.
*/
java.util.List
getOovStringTokensList();
/**
*
* 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;
* @return The count of oovStringTokens.
*/
int getOovStringTokensCount();
/**
*
* 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;
* @param index The index of the element to return.
* @return The oovStringTokens at the given index.
*/
java.lang.String getOovStringTokens(int index);
/**
*
* 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;
* @param index The index of the value to return.
* @return The bytes of the oovStringTokens at the given index.
*/
com.google.protobuf.ByteString
getOovStringTokensBytes(int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy