Uses of Interface
org.deeplearning4j.models.embeddings.WeightLookupTable
-
-
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.inmemory
Classes in org.deeplearning4j.models.embeddings.inmemory that implement WeightLookupTable Modifier and Type Class Description class
InMemoryLookupTable<T extends SequenceElement>
Default word lookup table -
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.learning
Methods in org.deeplearning4j.models.embeddings.learning with parameters of type WeightLookupTable Modifier and Type Method Description void
ElementsLearningAlgorithm. configure(VocabCache<T> vocabCache, WeightLookupTable<T> lookupTable, VectorsConfiguration configuration)
void
SequenceLearningAlgorithm. configure(VocabCache<T> vocabCache, WeightLookupTable<T> lookupTable, VectorsConfiguration configuration)
-
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.learning.impl.elements
Fields in org.deeplearning4j.models.embeddings.learning.impl.elements declared as WeightLookupTable Modifier and Type Field Description protected WeightLookupTable<T>
SkipGram. lookupTable
Methods in org.deeplearning4j.models.embeddings.learning.impl.elements with parameters of type WeightLookupTable Modifier and Type Method Description void
CBOW. configure(@NonNull VocabCache<T> vocabCache, @NonNull WeightLookupTable<T> lookupTable, @NonNull VectorsConfiguration configuration)
void
SkipGram. configure(@NonNull VocabCache<T> vocabCache, @NonNull WeightLookupTable<T> lookupTable, @NonNull VectorsConfiguration configuration)
SkipGram initialization over given vocabulary and WeightLookupTable -
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.learning.impl.sequence
Fields in org.deeplearning4j.models.embeddings.learning.impl.sequence declared as WeightLookupTable Modifier and Type Field Description protected WeightLookupTable<T>
DBOW. lookupTable
Methods in org.deeplearning4j.models.embeddings.learning.impl.sequence with parameters of type WeightLookupTable Modifier and Type Method Description void
DBOW. configure(@NonNull VocabCache<T> vocabCache, @NonNull WeightLookupTable<T> lookupTable, @NonNull VectorsConfiguration configuration)
void
DM. configure(@NonNull VocabCache<T> vocabCache, @NonNull WeightLookupTable<T> lookupTable, @NonNull VectorsConfiguration configuration)
-
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.loader
Methods in org.deeplearning4j.models.embeddings.loader that return WeightLookupTable Modifier and Type Method Description static <T extends SequenceElement>
WeightLookupTable<T>WordVectorSerializer. readLookupTable(File file)
static <T extends SequenceElement>
WeightLookupTable<T>WordVectorSerializer. readLookupTable(InputStream stream)
Methods in org.deeplearning4j.models.embeddings.loader with parameters of type WeightLookupTable Modifier and Type Method Description static WordVectors
WordVectorSerializer. fromTableAndVocab(WeightLookupTable table, VocabCache vocab)
Load word vectors for the given vocab and tablestatic <T extends SequenceElement>
voidWordVectorSerializer. writeLookupTable(WeightLookupTable<T> weightLookupTable, @NonNull File file)
This method saves table of weights to filestatic <T extends SequenceElement>
voidWordVectorSerializer. writeWordVectors(WeightLookupTable<T> lookupTable, File file)
This method writes word vectors to the given file.static <T extends SequenceElement>
voidWordVectorSerializer. writeWordVectors(WeightLookupTable<T> lookupTable, OutputStream stream)
This method writes word vectors to the given OutputStream.static <T extends SequenceElement>
voidWordVectorSerializer. writeWordVectors(WeightLookupTable<T> lookupTable, String path)
This method writes word vectors to the given path. -
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.reader
Methods in org.deeplearning4j.models.embeddings.reader with parameters of type WeightLookupTable Modifier and Type Method Description void
ModelUtils. init(WeightLookupTable<T> lookupTable)
This method implementations should accept given lookup table, and use them in further calls to interface methods -
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.reader.impl
Fields in org.deeplearning4j.models.embeddings.reader.impl declared as WeightLookupTable Modifier and Type Field Description protected WeightLookupTable<T>
BasicModelUtils. lookupTable
Methods in org.deeplearning4j.models.embeddings.reader.impl with parameters of type WeightLookupTable Modifier and Type Method Description void
BasicModelUtils. init(@NonNull WeightLookupTable<T> lookupTable)
-
Uses of WeightLookupTable in org.deeplearning4j.models.embeddings.wordvectors
Fields in org.deeplearning4j.models.embeddings.wordvectors declared as WeightLookupTable Modifier and Type Field Description protected WeightLookupTable<T>
WordVectorsImpl. lookupTable
Methods in org.deeplearning4j.models.embeddings.wordvectors that return WeightLookupTable Modifier and Type Method Description WeightLookupTable
WordVectors. lookupTable()
Lookup table for the vectorsWeightLookupTable
WordVectorsImpl. lookupTable()
Methods in org.deeplearning4j.models.embeddings.wordvectors with parameters of type WeightLookupTable Modifier and Type Method Description void
WordVectorsImpl. setLookupTable(@NonNull WeightLookupTable lookupTable)
-
Uses of WeightLookupTable in org.deeplearning4j.models.fasttext
Methods in org.deeplearning4j.models.fasttext that return WeightLookupTable Modifier and Type Method Description WeightLookupTable
FastText. lookupTable()
-
Uses of WeightLookupTable in org.deeplearning4j.models.node2vec
Methods in org.deeplearning4j.models.node2vec with parameters of type WeightLookupTable Modifier and Type Method Description Node2Vec.Builder<V,E>
Node2Vec.Builder. lookupTable(@NonNull WeightLookupTable<V> lookupTable)
-
Uses of WeightLookupTable in org.deeplearning4j.models.paragraphvectors
Methods in org.deeplearning4j.models.paragraphvectors with parameters of type WeightLookupTable Modifier and Type Method Description ParagraphVectors.Builder
ParagraphVectors.Builder. lookupTable(@NonNull WeightLookupTable<VocabWord> lookupTable)
This method allows to define external WeightLookupTable to be used -
Uses of WeightLookupTable in org.deeplearning4j.models.sequencevectors
Fields in org.deeplearning4j.models.sequencevectors declared as WeightLookupTable Modifier and Type Field Description protected WeightLookupTable<T>
SequenceVectors.Builder. lookupTable
Methods in org.deeplearning4j.models.sequencevectors with parameters of type WeightLookupTable Modifier and Type Method Description SequenceVectors.Builder<T>
SequenceVectors.Builder. lookupTable(@NonNull WeightLookupTable<T> lookupTable)
You can pass externally built WeightLookupTable, containing model weights and vocabulary. -
Uses of WeightLookupTable in org.deeplearning4j.models.word2vec
Methods in org.deeplearning4j.models.word2vec that return WeightLookupTable Modifier and Type Method Description WeightLookupTable
StaticWord2Vec. lookupTable()
Lookup table for the vectors PLEASE NOTE: This method is not available in this implementation.Methods in org.deeplearning4j.models.word2vec with parameters of type WeightLookupTable Modifier and Type Method Description Word2Vec.Builder
Word2Vec.Builder. lookupTable(@NonNull WeightLookupTable<VocabWord> lookupTable)
This method allows to define external WeightLookupTable to be used -
Uses of WeightLookupTable in org.deeplearning4j.models.word2vec.wordstore
Methods in org.deeplearning4j.models.word2vec.wordstore that return WeightLookupTable Modifier and Type Method Description protected WeightLookupTable<T>
VocabConstructor. buildExtendedLookupTable()
Placeholder for future implementation
-