public class BooleanConcatenationVertex extends BooleanVertex implements NonProbabilistic<BooleanTensor>
| Constructor and Description |
|---|
BooleanConcatenationVertex(int dimension,
BooleanVertex... operands)
A vertex that can concatenate any amount of vertices along a given dimension.
|
BooleanConcatenationVertex(int dimension,
Vertex[] input) |
| Modifier and Type | Method and Description |
|---|---|
BooleanTensor |
calculate() |
int |
getDimension() |
BooleanVertex[] |
getOperands() |
protected BooleanTensor |
op(BooleanTensor... inputs) |
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 BooleanConcatenationVertex(int dimension,
BooleanVertex... operands)
dimension - the dimension to concatenate on. This is the only dimension in which sizes may be different.operands - the input vertices to concatenatepublic BooleanConcatenationVertex(int dimension,
Vertex[] input)
public BooleanTensor calculate()
calculate in interface NonProbabilistic<BooleanTensor>protected BooleanTensor op(BooleanTensor... inputs)
public int getDimension()
public BooleanVertex[] getOperands()