Table of Contents

Class ParamOperation2D<TParam>

Namespace
NeuralNetworks.Operations
Assembly
NeuralNetworks.dll

An Operation with parameters of type TParam.

public abstract class ParamOperation2D<TParam> : ParamOperation2D

Type Parameters

TParam
Inheritance
ParamOperation2D<TParam>
Derived
Inherited Members

Constructors

ParamOperation2D(TParam)

An Operation with parameters of type TParam.

protected ParamOperation2D(TParam param)

Parameters

param TParam

Parameter matrix.

Properties

Param

protected TParam Param { get; }

Property Value

TParam

ParamGradient

protected TParam ParamGradient { get; }

Property Value

TParam

Methods

Backward(float[,])

Converts output gradient to input gradient.

public override float[,] Backward(float[,] outputGradient)

Parameters

outputGradient float[,]

Returns

float[,]

CalcParamGradient(float[,])

protected abstract TParam CalcParamGradient(float[,] outputGradient)

Parameters

outputGradient float[,]

Returns

TParam

CloneBase()

protected override Operation<float[,], float[,]> CloneBase()

Returns

Operation<float[,], float[,]>

EnsureSameShapeForParam(TParam?, TParam)

[Conditional("DEBUG")]
protected abstract void EnsureSameShapeForParam(TParam? param, TParam paramGradient)

Parameters

param TParam
paramGradient TParam