public class SigmoidVertex extends DoubleUnaryOpVertex
inputVertex
Constructor and Description |
---|
SigmoidVertex(DoubleVertex inputVertex)
Applies the sigmoid function to a vertex.
|
Modifier and Type | Method and Description |
---|---|
protected DualNumber |
dualOp(DualNumber a) |
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 SigmoidVertex(DoubleVertex inputVertex)
inputVertex
- the vertexprotected DoubleTensor op(DoubleTensor value)
op
in class DoubleUnaryOpVertex
protected DualNumber dualOp(DualNumber a)
dualOp
in class DoubleUnaryOpVertex
public java.util.Map<Vertex,PartialDerivatives> reverseModeAutoDifferentiation(PartialDerivatives derivativeOfOutputsWithRespectToSelf)
reverseModeAutoDifferentiation
in interface Differentiable
reverseModeAutoDifferentiation
in class DoubleVertex