public class RoundVertex extends DoubleUnaryOpVertex
inputVertex
Constructor and Description |
---|
RoundVertex(DoubleVertex inputVertex)
Applies the Rounding operator to a vertex.
|
Modifier and Type | Method and Description |
---|---|
protected DualNumber |
dualOp(DualNumber dualNumber) |
protected DoubleTensor |
op(DoubleTensor value) |
java.util.Map<Vertex,PartialDerivatives> |
reverseModeAutoDifferentiation(PartialDerivatives derivativeOfOutputsWithRespectToSelf) |
calculate, calculateDualNumber, sample
abs, acos, asin, atan, atan2, ceil, concat, cos, div, div, divideBy, divideBy, equalTo, exp, floor, getValue, greaterThan, greaterThanOrEqualTo, lambda, lambda, lessThan, lessThanOrEqualTo, log, matrixInverse, matrixMultiply, minus, minus, multiply, multiply, notEqualTo, observe, observe, plus, plus, pow, pow, reshape, round, setAndCascade, setAndCascade, setValue, setValue, sigmoid, sin, slice, sum, take, tan, times, times, unaryMinus
addChild, addParent, addParents, equals, eval, getChildren, getConnectedGraph, getId, getIndentation, getLabel, getObservedValue, getParents, getRawValue, getShape, getValue, hashCode, hasValue, isObserved, isProbabilistic, labeledAs, lazyEval, observe, observeOwnValue, sample, setAndCascade, setLabel, setParents, setParents, setValue, toString, unobserve
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contradictsObservation
getObservedValue, isObserved, observableTypeFor, observe, unobserve
getDualNumber
public RoundVertex(DoubleVertex inputVertex)
inputVertex
- the vertex to be roundedprotected DoubleTensor op(DoubleTensor value)
op
in class DoubleUnaryOpVertex
protected DualNumber dualOp(DualNumber dualNumber)
dualOp
in class DoubleUnaryOpVertex
public java.util.Map<Vertex,PartialDerivatives> reverseModeAutoDifferentiation(PartialDerivatives derivativeOfOutputsWithRespectToSelf)
reverseModeAutoDifferentiation
in interface Differentiable
reverseModeAutoDifferentiation
in class DoubleVertex