MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.common.LayerDebugInformation< T > Class Template Reference

The LayerDebugInformation describes debug information relating to a given Layer in the Net. More...

Public Member Functions

 LayerDebugInformation (Layer< T > layer, BlobCollection< T > colBottom, BlobCollection< T > colTop, Blob< T > work, bool bDetectNans)
 The LayerDebugInformation constructor. More...
 
BlobDebugInformation< T > FindBlob (string strBlob)
 Searches for the named blob. More...
 
bool Compare (LayerDebugInformation< T > dbg)
 Compare this LayerDebugInformation to another. More...
 
string DetectFirstNaN (out string strType)
 Searches for the first NaN within the Layer. More...
 
string DetectLastNaN (out string strType)
 Searches for the last NaN within the Layer. More...
 
override string ToString ()
 Returns the string representation of the LayerDebugInformation. More...
 

Properties

string Name [get]
 Returns the name of the Layer managed by the LayerDebugInformation. More...
 
string Type [get]
 Returns the type of the Layer managed by the LayerDebugInformation. More...
 
double ForwardTiming [get]
 Returns the timing of the last forward pass made by the Layer. More...
 
double ForwardTimingAverage [get]
 Returns the average timing of the forward passes made by the Layer. More...
 
double BackwardTiming [get]
 Returns the timing of the last backward pass made by the Layer. More...
 
double BackwardTimingAverage [get]
 Returns the average timing of the backward passes made by the Layer. More...
 
List< BlobDebugInformation< T > > BlobInfoList [get]
 Returns the collection of BlobDebugInformation for the Layer. More...
 

Detailed Description

The LayerDebugInformation describes debug information relating to a given Layer in the Net.

Template Parameters
TSpecifies the base type float or double. Using float is recommended to conserve GPU memory.

Definition at line 176 of file DebugInformation.cs.

Constructor & Destructor Documentation

◆ LayerDebugInformation()

MyCaffe.common.LayerDebugInformation< T >.LayerDebugInformation ( Layer< T >  layer,
BlobCollection< T >  colBottom,
BlobCollection< T >  colTop,
Blob< T >  work,
bool  bDetectNans 
)

The LayerDebugInformation constructor.

Parameters
layerSpecifies the Layer.
colBottomSpecifies the Bottom blobs flowing into the Layer.
colTopSpecifies the Top blobs flowing out of the Layer.
workSpecifies the Workspace data.
bDetectNansSpecifies whether or not to detect Nan's in the data.

Definition at line 194 of file DebugInformation.cs.

Member Function Documentation

◆ Compare()

Compare this LayerDebugInformation to another.

Parameters
dbgSpecifies the other LayerDebugInformation to compare to.
Returns
If the two LayerDebugInformation's are the same, true is returned, otherwise false is returned.

Definition at line 301 of file DebugInformation.cs.

◆ DetectFirstNaN()

string MyCaffe.common.LayerDebugInformation< T >.DetectFirstNaN ( out string  strType)

Searches for the first NaN within the Layer.

Parameters
strTypeReturns the Layer type for which a NaN was detected (if any).
Returns
If found, the name of the Blob in which a NaN was detected is returned, otherwise null is returned.

Definition at line 326 of file DebugInformation.cs.

◆ DetectLastNaN()

string MyCaffe.common.LayerDebugInformation< T >.DetectLastNaN ( out string  strType)

Searches for the last NaN within the Layer.

Parameters
strTypeReturns the Layer type for which a NaN was detected (if any).
Returns
If found, the name of the Blob in which a NaN was detected is returned, otherwise null is returned.

Definition at line 347 of file DebugInformation.cs.

◆ FindBlob()

BlobDebugInformation< T > MyCaffe.common.LayerDebugInformation< T >.FindBlob ( string  strBlob)

Searches for the named blob.

Parameters
strBlobSpecifies the name of the blob to look for.
Returns
If found, the blob debug information is returned, otherwise null is returned.

Definition at line 285 of file DebugInformation.cs.

◆ ToString()

override string MyCaffe.common.LayerDebugInformation< T >.ToString ( )

Returns the string representation of the LayerDebugInformation.

Returns

Definition at line 367 of file DebugInformation.cs.

Property Documentation

◆ BackwardTiming

double MyCaffe.common.LayerDebugInformation< T >.BackwardTiming
get

Returns the timing of the last backward pass made by the Layer.

Definition at line 259 of file DebugInformation.cs.

◆ BackwardTimingAverage

double MyCaffe.common.LayerDebugInformation< T >.BackwardTimingAverage
get

Returns the average timing of the backward passes made by the Layer.

Definition at line 267 of file DebugInformation.cs.

◆ BlobInfoList

Returns the collection of BlobDebugInformation for the Layer.

Definition at line 275 of file DebugInformation.cs.

◆ ForwardTiming

double MyCaffe.common.LayerDebugInformation< T >.ForwardTiming
get

Returns the timing of the last forward pass made by the Layer.

Definition at line 243 of file DebugInformation.cs.

◆ ForwardTimingAverage

double MyCaffe.common.LayerDebugInformation< T >.ForwardTimingAverage
get

Returns the average timing of the forward passes made by the Layer.

Definition at line 251 of file DebugInformation.cs.

◆ Name

Returns the name of the Layer managed by the LayerDebugInformation.

Definition at line 227 of file DebugInformation.cs.

◆ Type

Returns the type of the Layer managed by the LayerDebugInformation.

Definition at line 235 of file DebugInformation.cs.


The documentation for this class was generated from the following file: