| Package | Description |
|---|---|
| org.deeplearning4j.models.embeddings.inmemory | |
| org.deeplearning4j.models.embeddings.loader | |
| org.deeplearning4j.models.glove |
| Modifier and Type | Method and Description |
|---|---|
InMemoryLookupTable<T> |
InMemoryLookupTable.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
void |
InMemoryLookupTable.consume(InMemoryLookupTable<T> srcTable)
This method consumes weights of a given InMemoryLookupTable
PLEASE NOTE: this method explicitly resets current weights
|
| Modifier and Type | Method and Description |
|---|---|
static org.nd4j.linalg.primitives.Pair<InMemoryLookupTable,VocabCache> |
WordVectorSerializer.loadTxt(File vectorsFile)
Loads an in memory cache from the given path (sets syn0 and the vocab)
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WordVectorSerializer.writeWordVectors(InMemoryLookupTable lookupTable,
InMemoryLookupCache cache,
String path)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Word2Vec |
WordVectorSerializer.fromPair(org.nd4j.linalg.primitives.Pair<InMemoryLookupTable,VocabCache> pair)
Load word vectors from the given pair
|
| Modifier and Type | Class and Description |
|---|---|
class |
GloveWeightLookupTable<T extends SequenceElement>
Deprecated.
|
Copyright © 2017. All rights reserved.