public class NumericalEqualsVertex<N extends java.lang.Number,TENSOR extends NumberTensor<N,TENSOR>> extends VertexImpl<BooleanTensor,BooleanVertex> implements BooleanVertex, NonProbabilistic<BooleanTensor>
Modifier and Type | Field and Description |
---|---|
protected Vertex<TENSOR,?> |
a |
protected Vertex<TENSOR,?> |
b |
SCALAR_SHAPE
Constructor and Description |
---|
NumericalEqualsVertex(Vertex<TENSOR,?> a,
Vertex<TENSOR,?> b,
N epsilon) |
Modifier and Type | Method and Description |
---|---|
BooleanTensor |
calculate() |
Vertex<? extends NumberTensor,?> |
getA() |
Vertex<? extends NumberTensor,?> |
getB() |
N |
getEpsilon() |
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getLength, getObservedValue, getParents, getRank, getReference, getShape, getState, getStride, getValue, hashCode, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, print, print, removeLabel, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
allFalse, allTrue, and, and, and, anyFalse, anyTrue, assertTrue, assertTrue, concat, getValue, not, not, observe, observe, ofType, or, or, or, setAndCascade, setAndCascade, setValue, setValue, toDoubleMask, toIntegerMask, wrap, xor
broadcast, diag, diagPart, elementwiseEquals, elementwiseEquals, fillTriangular, get, notEqualTo, notEqualTo, permute, reshape, slice, slice, take, trianglePart, triLower, triUpper, where
addChild, addParent, addParents, eval, getChildren, getConnectedGraph, getDegree, getId, getIndentation, getLabel, getLength, getObservedValue, getParents, getRank, getReference, getShape, getState, getStride, getValue, hasValue, isDifferentiable, isObserved, isProbabilistic, lazyEval, observe, observeOwnValue, print, print, removeLabel, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, unobserve
expandDims, getLength, getRank, getShape, getStride, isLengthOne, isMatrix, isScalar, isVector, moveAxis, slice, sliceAlongDimension, squeeze, swapAxis, transpose
contradictsObservation
protected Vertex<TENSOR extends NumberTensor<N,TENSOR>,?> a
protected Vertex<TENSOR extends NumberTensor<N,TENSOR>,?> b
public BooleanTensor calculate()
calculate
in interface NonProbabilistic<BooleanTensor>
public Vertex<? extends NumberTensor,?> getA()
public Vertex<? extends NumberTensor,?> getB()
public N getEpsilon()