Table of Contents

Class Unflatten

Namespace
NeuralNetworks.Operations.Reshaping
Assembly
NeuralNetworks.dll
public class Unflatten : Operation<float[,], float[,,,]>
Inheritance
Unflatten
Inherited Members

Constructors

Unflatten(int, int, int)

public Unflatten(int channels, int height, int width)

Parameters

channels int
height int
width int

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.