public abstract class BoolUnaryOpLambda<A extends Tensor> extends BoolUnaryOpVertex<A>
a
ID_GENERATOR
Constructor and Description |
---|
BoolUnaryOpLambda(int[] shape,
Vertex<A> a,
java.util.function.Function<A,BooleanTensor> boolOp) |
Modifier and Type | Method and Description |
---|---|
protected BooleanTensor |
op(A 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 BoolUnaryOpLambda(int[] shape, Vertex<A> a, java.util.function.Function<A,BooleanTensor> boolOp)
protected BooleanTensor op(A a)
op
in class BoolUnaryOpVertex<A extends Tensor>