public abstract class IntegerVertex extends Vertex<IntegerTensor> implements io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
Constructor and Description |
---|
IntegerVertex(long[] shape) |
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
public void saveValue(NetworkSaver netSaver)
saveValue
in class Vertex<IntegerTensor>
public void loadValue(NetworkLoader loader)
loadValue
in class Vertex<IntegerTensor>
public static IntegerVertex concat(int dimension, IntegerVertex... toConcat)
public static IntegerVertex min(IntegerVertex a, IntegerVertex b)
public static IntegerVertex max(IntegerVertex a, IntegerVertex b)
public IntegerVertex minus(IntegerVertex that)
minus
in interface io.improbable.keanu.kotlin.NumberOperators<IntegerVertex>
public IntegerVertex plus(IntegerVertex that)
plus
in interface io.improbable.keanu.kotlin.NumberOperators<IntegerVertex>
public IntegerVertex multiply(IntegerVertex that)
public IntegerVertex divideBy(IntegerVertex that)
public IntegerVertex minus(Vertex<IntegerTensor> that)
public IntegerVertex plus(Vertex<IntegerTensor> that)
public IntegerVertex multiply(Vertex<IntegerTensor> that)
public IntegerVertex divideBy(Vertex<IntegerTensor> that)
public IntegerVertex pow(IntegerVertex exponent)
pow
in interface io.improbable.keanu.kotlin.NumberOperators<IntegerVertex>
public IntegerVertex minus(int value)
minus
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex plus(int value)
plus
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex multiply(int factor)
public IntegerVertex divideBy(int divisor)
public IntegerVertex pow(int exponent)
pow
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex abs()
public IntegerVertex sum(int... sumOverDimensions)
public IntegerVertex sum()
public IntegerVertex lambda(long[] shape, java.util.function.Function<IntegerTensor,IntegerTensor> op)
public IntegerVertex lambda(java.util.function.Function<IntegerTensor,IntegerTensor> op)
public IntegerVertex times(IntegerVertex that)
times
in interface io.improbable.keanu.kotlin.NumberOperators<IntegerVertex>
public IntegerVertex reverseMinus(int that)
reverseMinus
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex div(IntegerVertex that)
div
in interface io.improbable.keanu.kotlin.NumberOperators<IntegerVertex>
public IntegerVertex reverseDiv(int that)
reverseDiv
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex times(int that)
times
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex div(int that)
div
in interface io.improbable.keanu.kotlin.IntegerOperators<IntegerVertex>
public IntegerVertex unaryMinus()
unaryMinus
in interface io.improbable.keanu.kotlin.NumberOperators<IntegerVertex>
public IntegerVertex take(long... index)
public IntegerVertex slice(int dimension, int index)
public IntegerVertex reshape(long... proposedShape)
public BooleanVertex equalTo(IntegerVertex rhs)
public DoubleVertex toDouble()
public <T extends Tensor> BooleanVertex notEqualTo(Vertex<T> rhs)
public <T extends NumberTensor> BooleanVertex greaterThan(Vertex<T> rhs)
public <T extends NumberTensor> BooleanVertex greaterThanOrEqualTo(Vertex<T> rhs)
public <T extends NumberTensor> BooleanVertex lessThan(Vertex<T> rhs)
public <T extends NumberTensor> BooleanVertex lessThanOrEqualTo(Vertex<T> rhs)
public void setValue(int value)
public void setValue(int[] values)
public void setAndCascade(int value)
public void setAndCascade(int[] values)
public void observe(int value)
public void observe(int[] values)
public int getValue(int... index)