public abstract class BooleanUnaryOpVertex<T extends Tensor> extends BooleanVertex implements NonProbabilistic<BooleanTensor>, VertexUnaryOp<Vertex<T>>
| Modifier and Type | Field and Description |
|---|---|
protected Vertex<T> |
a |
protected static java.lang.String |
INPUT_NAME |
| Constructor and Description |
|---|
BooleanUnaryOpVertex(long[] shape,
Vertex<T> a) |
BooleanUnaryOpVertex(Vertex<T> a) |
| Modifier and Type | Method and Description |
|---|---|
BooleanTensor |
calculate() |
Vertex<T> |
getInputVertex() |
protected abstract BooleanTensor |
op(T value) |
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, unobserveprotected static final java.lang.String INPUT_NAME
public Vertex<T> getInputVertex()
getInputVertex in interface VertexUnaryOp<Vertex<T extends Tensor>>public BooleanTensor calculate()
calculate in interface NonProbabilistic<BooleanTensor>protected abstract BooleanTensor op(T value)