public abstract class BoolUnaryOpLambda<A extends Tensor> extends BoolUnaryOpVertex<A>
a
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) |
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 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>