Class BatchItem<T extends SequenceElement>
- java.lang.Object
-
- org.deeplearning4j.models.embeddings.learning.impl.elements.BatchItem<T>
-
public class BatchItem<T extends SequenceElement> extends Object
-
-
Constructor Summary
Constructors Constructor Description BatchItem(T word, int[] windowWords, boolean[] wordStatuses, long randomValue, double alpha)
BatchItem(T word, int[] windowWords, boolean[] wordStatuses, long randomValue, double alpha, int numLabel)
BatchItem(T word, T lastWord, long randomValue, double alpha)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAlpha()
T
getLastWord()
int
getNumLabel()
long
getRandomValue()
int[]
getWindowWords()
T
getWord()
boolean[]
getWordStatuses()
void
setAlpha(double alpha)
void
setLastWord(T lastWord)
void
setWord(T word)
-
-
-
Method Detail
-
getWord
public T getWord()
-
setWord
public void setWord(T word)
-
getLastWord
public T getLastWord()
-
setLastWord
public void setLastWord(T lastWord)
-
getRandomValue
public long getRandomValue()
-
getAlpha
public double getAlpha()
-
setAlpha
public void setAlpha(double alpha)
-
getWindowWords
public int[] getWindowWords()
-
getWordStatuses
public boolean[] getWordStatuses()
-
getNumLabel
public int getNumLabel()
-
-