Class ParamOperation4D<TParam>
- Namespace
- NeuralNetworks.Operations
- Assembly
- NeuralNetworks.dll
An Operation with parameters of type TParam.
public abstract class ParamOperation4D<TParam> : ParamOperation4D
Type Parameters
TParam
- Inheritance
-
ParamOperation4D<TParam>
- Derived
- Inherited Members
Constructors
ParamOperation4D(TParam)
An Operation with parameters of type TParam.
protected ParamOperation4D(TParam param)
Parameters
paramTParamParameter matrix.
Properties
Param
protected TParam Param { get; }
Property Value
- TParam
Methods
Backward(float[,,,])
Converts output gradient to input gradient.
public override float[,,,] Backward(float[,,,] outputGradient)
Parameters
outputGradientfloat[,,,]
Returns
- float[,,,]
CalcParamGradient(float[,,,])
protected abstract TParam CalcParamGradient(float[,,,] outputGradient)
Parameters
outputGradientfloat[,,,]
Returns
- TParam
CloneBase()
protected override Operation<float[,,,], float[,,,]> CloneBase()
Returns
EnsureSameShapeForParam(TParam?, TParam)
[Conditional("DEBUG")]
protected abstract void EnsureSameShapeForParam(TParam? param, TParam paramGradient)
Parameters
paramTParamparamGradientTParam