public class ConstantIntegerVertex extends IntegerVertex implements ConstantVertex, NonProbabilistic<IntegerTensor>
| Constructor and Description |
|---|
ConstantIntegerVertex(int constant) |
ConstantIntegerVertex(int[] vector) |
ConstantIntegerVertex(int[] data,
long[] shape) |
ConstantIntegerVertex(IntegerTensor constant) |
| Modifier and Type | Method and Description |
|---|---|
IntegerTensor |
calculate() |
IntegerTensor |
getConstantValue() |
void |
save(NetworkSaver netSaver) |
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, setAndCascade, setLabel, setLabel, setParents, setParents, setState, setValue, toString, unobserveclone, finalize, getClass, notify, notifyAll, wait, wait, waitof, of, of, of, of, of, of, of, of, of, of, of, of, of, of, of, ofcontradictsObservationgetObservedValue, isObserved, observe, unobservepublic ConstantIntegerVertex(IntegerTensor constant)
public ConstantIntegerVertex(int[] vector)
public ConstantIntegerVertex(int constant)
public ConstantIntegerVertex(int[] data,
long[] shape)
public void save(NetworkSaver netSaver)
save in class Vertex<IntegerTensor>public IntegerTensor calculate()
calculate in interface NonProbabilistic<IntegerTensor>public IntegerTensor getConstantValue()