public class BooleanReduceVertex extends BooleanVertex implements NonProbabilistic<BooleanTensor>, NonSaveableVertex
| Constructor and Description |
|---|
BooleanReduceVertex(long[] shape,
java.util.function.BiFunction<BooleanTensor,BooleanTensor,BooleanTensor> f,
Vertex<BooleanTensor>... input) |
BooleanReduceVertex(long[] shape,
java.util.Collection<? extends Vertex<BooleanTensor>> input,
java.util.function.BiFunction<BooleanTensor,BooleanTensor,BooleanTensor> reduceFunction) |
| Modifier and Type | Method and Description |
|---|---|
BooleanTensor |
calculate() |
and, 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 BooleanReduceVertex(long[] shape,
java.util.Collection<? extends Vertex<BooleanTensor>> input,
java.util.function.BiFunction<BooleanTensor,BooleanTensor,BooleanTensor> reduceFunction)
public BooleanReduceVertex(long[] shape,
java.util.function.BiFunction<BooleanTensor,BooleanTensor,BooleanTensor> f,
Vertex<BooleanTensor>... input)
public BooleanTensor calculate()
calculate in interface NonProbabilistic<BooleanTensor>