public class EmbeddingTableConfig extends CategoricalPropertyConfig
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Integer |
DEFAULT_EMBEDDING_DIM
Null
|
static double |
DEFAULT_OOV_PROB
0
|
DEFAULT_CATEGORY_METHOD, DEFAULT_MAX_VOCAB, DEFAULT_SHARED| Constructor and Description |
|---|
EmbeddingTableConfig(CategoricalPropertyConfig otherConfig) |
EmbeddingTableConfig(java.lang.String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getEmbeddingDimension() |
double |
getOutOfVocabularyProbability() |
void |
setEmbeddingDimension(java.lang.Integer embeddingDimension) |
void |
setOutOfVocabularyProbability(double outOfVocabularyProbability) |
void |
validateProperties() |
getCategoricalEmbeddingType, getMaxVocabularySize, getShared, setMaxVocabularySize, setSharedgetCategorical, getPropertyNamepublic static final java.lang.Integer DEFAULT_EMBEDDING_DIM
public static final double DEFAULT_OOV_PROB
public EmbeddingTableConfig(CategoricalPropertyConfig otherConfig)
public EmbeddingTableConfig(java.lang.String propertyName)
public java.lang.Integer getEmbeddingDimension()
public double getOutOfVocabularyProbability()
public void setEmbeddingDimension(java.lang.Integer embeddingDimension)
public void setOutOfVocabularyProbability(double outOfVocabularyProbability)
public void validateProperties()
validateProperties in class CategoricalPropertyConfig