public class BooleanTakeVertex extends BooleanUnaryOpVertex<BooleanTensor>
a, INPUT_NAME| Constructor and Description |
|---|
BooleanTakeVertex(Vertex<BooleanTensor> inputVertex,
long... index)
A vertex that extracts a scalar at a given index
|
| Modifier and Type | Method and Description |
|---|---|
long[] |
getIndex() |
protected BooleanTensor |
op(BooleanTensor value) |
calculate, getInputVertexand, and, and, assertTrue, assertTrue, concat, equalTo, getValue, loadValue, not, not, notEqualTo, observe, observe, or, or, or, reshape, saveValue, setAndCascade, setAndCascade, setValue, setValue, slice, takeaddChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getObservedValue, getParents, getRank, getReference, getShape, getState, getValue, hashCode, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, print, print, removeLabel, save, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserveclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontradictsObservationgetObservedValue, isObserved, observe, unobservepublic BooleanTakeVertex(Vertex<BooleanTensor> inputVertex, long... index)
inputVertex - the input vertex to extract fromindex - the index to extract atprotected BooleanTensor op(BooleanTensor value)
op in class BooleanUnaryOpVertex<BooleanTensor>public long[] getIndex()