public class BaseWord2VecFunction extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
from |
protected int |
fromIndex |
static String |
SYN0 |
static String |
SYN1 |
static String |
SYN1_NEGATIVE |
protected String |
to |
protected int |
toIndex |
| Constructor and Description |
|---|
BaseWord2VecFunction(int fromIndex,
int toIndex,
String from,
String to) |
| Modifier and Type | Method and Description |
|---|---|
protected org.nd4j.linalg.api.ndarray.INDArray |
getFrom(InMemoryLookupTable inMemoryLookupTable) |
protected org.nd4j.linalg.api.ndarray.INDArray |
getTo(InMemoryLookupTable inMemoryLookupTable) |
protected int fromIndex
protected int toIndex
protected String from
protected String to
public static final String SYN1
public static final String SYN0
public static final String SYN1_NEGATIVE
protected org.nd4j.linalg.api.ndarray.INDArray getFrom(InMemoryLookupTable inMemoryLookupTable)
protected org.nd4j.linalg.api.ndarray.INDArray getTo(InMemoryLookupTable inMemoryLookupTable)
Copyright © 2016. All Rights Reserved.