Table of Contents

Class Dropout2D

Namespace
NeuralNetworks.Operations
Assembly
NeuralNetworks.dll
public class Dropout2D : BaseDropout2D
Inheritance
Dropout2D
Inherited Members

Constructors

Dropout2D(float, SeededRandom?)

public Dropout2D(float keepProb = 0.8, SeededRandom? random = null)

Parameters

keepProb float
random SeededRandom

Methods

CalcInputGradient(float[,])

Calculates input gradient.

protected override float[,] CalcInputGradient(float[,] outputGradient)

Parameters

outputGradient float[,]

Returns

float[,]

Remarks

Based on outputGradient, calculates changes in input.

CalcOutput(bool)

Computes output.

protected override float[,] CalcOutput(bool inference)

Parameters

inference bool

Returns

float[,]

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.