public interface EmbeddingInitializer extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
jsonSerializable() |
void |
loadWeightsInto(INDArray array)
Load the weights into the specified INDArray
|
int |
vectorSize() |
long |
vocabSize() |
void loadWeightsInto(INDArray array)
array
- Array of shape [vocabSize, vectorSize]long vocabSize()
int vectorSize()
boolean jsonSerializable()
Copyright © 2019. All rights reserved.