public class BooleanConcatenationVertex extends BooleanVertex implements NonProbabilistic<BooleanTensor>
Constructor and Description |
---|
BooleanConcatenationVertex(int dimension,
BooleanVertex... input)
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[] |
getInput() |
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, take
addChild, 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, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observe, unobserve
public BooleanConcatenationVertex(int dimension, BooleanVertex... input)
dimension
- the dimension to concatenate on. This is the only dimension in which sizes may be different.input
- 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[] getInput()