Package deepboof.impl.backward.standard
Class DActivationSigmoid_F64
java.lang.Object
deepboof.impl.forward.standard.BaseFunction<T>
deepboof.impl.backward.standard.BaseDFunction<T>
deepboof.impl.backward.standard.ElementWiseDFunction<deepboof.tensors.Tensor_F64>
deepboof.impl.backward.standard.DActivationSigmoid_F64
- All Implemented Interfaces:
DActivationSigmoid<deepboof.tensors.Tensor_F64>,deepboof.DFunction<deepboof.tensors.Tensor_F64>,deepboof.forward.ActivationSigmoid<deepboof.tensors.Tensor_F64>,deepboof.Function<deepboof.tensors.Tensor_F64>
public class DActivationSigmoid_F64 extends ElementWiseDFunction<deepboof.tensors.Tensor_F64> implements DActivationSigmoid<deepboof.tensors.Tensor_F64>
Implementation of
DActivationSigmoid for Tensor_F64. Saves the sigmoid computed
on the forward pass to avoid recomputing the sigmoid on the backwards pass.-
Field Summary
Fields inherited from class deepboof.impl.backward.standard.BaseDFunction
learningModeFields inherited from class deepboof.impl.forward.standard.BaseFunction
miniBatchSize, parameters, shapeInput, shapeOutput, shapeParameters -
Constructor Summary
Constructors Constructor Description DActivationSigmoid_F64() -
Method Summary
Modifier and Type Method Description protected void_backwards(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 dout, deepboof.tensors.Tensor_F64 gradientInput, List<deepboof.tensors.Tensor_F64> gradientParameters)void_forward(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 output)Class<deepboof.tensors.Tensor_F64>getTensorType()Methods inherited from class deepboof.impl.backward.standard.ElementWiseDFunction
_initialize, _setParametersMethods inherited from class deepboof.impl.backward.standard.BaseDFunction
backwards, evaluating, isLearning, learningMethods inherited from class deepboof.impl.forward.standard.BaseFunction
forward, getOutputShape, getParameters, getParameterShapes, initialize, setParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface deepboof.DFunction
backwards, evaluating, isLearning, learningMethods inherited from interface deepboof.Function
forward, getOutputShape, getParameters, getParameterShapes, initialize, setParameters
-
Constructor Details
-
DActivationSigmoid_F64
public DActivationSigmoid_F64()
-
-
Method Details
-
_forward
public void _forward(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 output)- Specified by:
_forwardin classdeepboof.impl.forward.standard.BaseFunction<deepboof.tensors.Tensor_F64>
-
_backwards
protected void _backwards(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 dout, deepboof.tensors.Tensor_F64 gradientInput, List<deepboof.tensors.Tensor_F64> gradientParameters)- Specified by:
_backwardsin classBaseDFunction<deepboof.tensors.Tensor_F64>
-
getTensorType
- Specified by:
getTensorTypein interfacedeepboof.Function<deepboof.tensors.Tensor_F64>
-