Package ai.djl.mxnet.zoo.nlp.embedding
Class GloveWordEmbeddingBlockFactory
java.lang.Object
ai.djl.mxnet.zoo.nlp.embedding.GloveWordEmbeddingBlockFactory
- All Implemented Interfaces:
ai.djl.nn.BlockFactory,Serializable
A
BlockFactory class that creates Glove word embedding block.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GloveWordEmbeddingBlockFactory
public GloveWordEmbeddingBlockFactory()
-
-
Method Details
-
newBlock
public ai.djl.nn.Block newBlock(ai.djl.Model model, Path modelPath, Map<String, ?> arguments) throws IOException- Specified by:
newBlockin interfaceai.djl.nn.BlockFactory- Throws:
IOException
-