public class NegativeHolder
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
static NegativeHolder |
getInstance() |
void |
initHolder(VocabCache<VocabWord> vocabCache,
double[] expTable,
int layerSize) |
protected void |
makeTable(int tableSize,
double power) |
public static NegativeHolder getInstance()
public void initHolder(@NonNull
VocabCache<VocabWord> vocabCache,
double[] expTable,
int layerSize)
protected void makeTable(int tableSize,
double power)