public class BoolPluckVertex extends BoolUnaryOpVertex<BooleanTensor>
a
ID_GENERATOR
Constructor and Description |
---|
BoolPluckVertex(BoolVertex inputVertex,
int... index)
A vertex that extracts a scalar at a given index
|
Modifier and Type | Method and Description |
---|---|
protected BooleanTensor |
op(BooleanTensor a) |
getDerivedValue, sample
dLogPmf, isProbabilistic, logPmf, updateValue
and, dLogPmf, dLogPmf, getValue, logPmf, logPmf, not, observe, observe, or, pluck, setAndCascade, setAndCascade, setValue, setValue, slice
dLogProb, logProb
addChild, addParent, addParents, dLogProbAtValue, equals, eval, getChildren, getConnectedGraph, getId, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, lazyEval, logProbAtValue, observe, observeOwnValue, sample, setAndCascade, setParents, setParents, setValue, unobserve
public BoolPluckVertex(BoolVertex inputVertex, int... index)
inputVertex
- the input vertex to extract fromindex
- the index to extract atprotected BooleanTensor op(BooleanTensor a)
op
in class BoolUnaryOpVertex<BooleanTensor>