public class IntegerConcatenationVertex extends IntegerVertex implements NonProbabilistic<IntegerTensor>
| Constructor and Description |
|---|
IntegerConcatenationVertex(int dimension,
IntegerVertex... operands)
A vertex that can concatenate any amount of vertices along a given dimension.
|
IntegerConcatenationVertex(int dimension,
Vertex[] input) |
| Modifier and Type | Method and Description |
|---|---|
IntegerTensor |
calculate() |
int |
getDimension() |
IntegerVertex[] |
getOperands() |
abs, concat, div, div, divideBy, divideBy, divideBy, equalTo, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, loadValue, max, min, minus, minus, minus, multiply, multiply, multiply, notEqualTo, observe, observe, plus, plus, plus, pow, pow, reshape, reverseDiv, reverseMinus, saveValue, setAndCascade, setAndCascade, setValue, setValue, slice, sum, sum, take, times, times, toDouble, unaryMinusaddChild, 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 IntegerConcatenationVertex(int dimension,
IntegerVertex... operands)
dimension - the dimension to concatenate on. This is the only dimension in which sizes may be different.operands - the input vertices to concatenatepublic IntegerConcatenationVertex(int dimension,
Vertex[] input)
public IntegerTensor calculate()
calculate in interface NonProbabilistic<IntegerTensor>public int getDimension()
public IntegerVertex[] getOperands()