public class EmbeddingLayerParamInitializer extends DefaultParamInitializer
BIAS_KEY, GAIN_KEY, WEIGHT_KEY
Constructor and Description |
---|
EmbeddingLayerParamInitializer() |
Modifier and Type | Method and Description |
---|---|
protected INDArray |
createWeightMatrix(long nIn,
long nOut,
IWeightInit weightInit,
INDArray weightParamView,
boolean initializeParameters) |
static EmbeddingLayerParamInitializer |
getInstance() |
biasKeys, createBias, createBias, createGain, createGain, createWeightMatrix, getGradientsFromFlattened, hasBias, hasLayerNorm, init, isBiasParam, isWeightParam, numParams, numParams, paramKeys, weightKeys
public static EmbeddingLayerParamInitializer getInstance()
protected INDArray createWeightMatrix(long nIn, long nOut, IWeightInit weightInit, INDArray weightParamView, boolean initializeParameters)
createWeightMatrix
in class DefaultParamInitializer
Copyright © 2021. All rights reserved.