public class BoolTakeVertex extends BoolUnaryOpVertex<BooleanTensor>
a
Constructor and Description |
---|
BoolTakeVertex(BoolVertex inputVertex,
int... index)
A vertex that extracts a scalar at a given index
|
Modifier and Type | Method and Description |
---|---|
protected BooleanTensor |
op(BooleanTensor value) |
calculate, sample
and, concat, equalTo, getValue, not, notEqualTo, observe, observe, or, reshape, setAndCascade, setAndCascade, setValue, setValue, slice, take
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getIndentation, getLabel, getObservedValue, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, labeledAs, lazyEval, observe, observeOwnValue, sample, setAndCascade, setLabel, setParents, setParents, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observableTypeFor, observe, unobserve
public BoolTakeVertex(BoolVertex inputVertex, int... index)
inputVertex
- the input vertex to extract fromindex
- the index to extract atprotected BooleanTensor op(BooleanTensor value)
op
in class BoolUnaryOpVertex<BooleanTensor>