Class GraphTransformer<T extends SequenceElement>
- java.lang.Object
-
- org.deeplearning4j.models.sequencevectors.transformers.impl.GraphTransformer<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphTransformer.Builder<T extends SequenceElement>
-
Field Summary
Fields Modifier and Type Field Description protected AtomicInteger
counter
protected LabelsProvider<T>
labelsProvider
protected static org.slf4j.Logger
log
protected boolean
shuffle
protected IGraph<T,?>
sourceGraph
protected VocabCache<T>
vocabCache
protected GraphWalker<T>
walker
-
Constructor Summary
Constructors Modifier Constructor Description protected
GraphTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialize()
This method handles required initialization for GraphTransformerIterator<Sequence<T>>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
sourceGraph
protected IGraph<T extends SequenceElement,?> sourceGraph
-
walker
protected GraphWalker<T extends SequenceElement> walker
-
labelsProvider
protected LabelsProvider<T extends SequenceElement> labelsProvider
-
counter
protected AtomicInteger counter
-
shuffle
protected boolean shuffle
-
vocabCache
protected VocabCache<T extends SequenceElement> vocabCache
-
log
protected static final org.slf4j.Logger log
-
-