public class DivisionVertex extends DoubleBinaryOpVertex
left, right
Constructor and Description |
---|
DivisionVertex(DoubleVertex left,
DoubleVertex right)
Divides one vertex by another
|
Modifier and Type | Method and Description |
---|---|
protected DualNumber |
dualOp(DualNumber l,
DualNumber r) |
protected DoubleTensor |
op(DoubleTensor l,
DoubleTensor r) |
java.util.Map<Vertex,PartialDerivatives> |
reverseModeAutoDifferentiation(PartialDerivatives derivativeOfOutputsWithRespectToSelf) |
calculate, calculateDualNumber, getLeft, getRight, 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 DivisionVertex(DoubleVertex left, DoubleVertex right)
left
- the vertex to be dividedright
- the vertex to divideprotected DoubleTensor op(DoubleTensor l, DoubleTensor r)
op
in class DoubleBinaryOpVertex
public java.util.Map<Vertex,PartialDerivatives> reverseModeAutoDifferentiation(PartialDerivatives derivativeOfOutputsWithRespectToSelf)
reverseModeAutoDifferentiation
in interface Differentiable
reverseModeAutoDifferentiation
in class DoubleVertex
protected DualNumber dualOp(DualNumber l, DualNumber r)
dualOp
in class DoubleBinaryOpVertex