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

The BlobDebugInformation describes debug information relating to a given Blob in a given Layer. More...

Public Member Functions

 BlobDebugInformation (Blob< T > b, Blob< T > work, BLOBTYPE type, LOCATION loc=LOCATION.NONE, bool bDetectNans=false)
 The BlobDebugInformation constructor. More...
 
bool Compare (BlobDebugInformation< T > dbg)
 Compares this BlobDebugInformation to another one. More...
 
string DetectFirstNaN (out string strType)
 Search for the first NaN in the Blob. More...
 
string DetectLastNaN (out string strType)
 Search for the last NaN in the Blob. More...
 
override string ToString ()
 Returns a string representation of the BlobDebugInformation. More...
 

Properties

string Name [get]
 Returns the name of the Blob. More...
 
string Size [get]
 Returns the size of the Blob. More...
 
double DataMinValue [get]
 Returns the minimum value of the Blob data. More...
 
double DataMaxValue [get]
 Returns the maximum value of the Blob data. More...
 
double DataNanCount [get]
 Returns the number of nans detected in the Blob data. More...
 
double DataInfCount [get]
 Returns the number of infinity values detected in the Blob data. More...
 
double DiffMinValue [get]
 Returns the minimum value of the Blob diff. More...
 
double DiffMaxValue [get]
 Returns the maximum value of the Blob diff. More...
 
double DiffNanCount [get]
 Returns the number of nans detected in the Blob diff. More...
 
double DiffInfCount [get]
 Returns the number of infinity values detected in the Blob diff. More...
 
BLOBTYPE BlobType [get]
 Returns the Blob type. More...
 
LOCATION BlobLocation [get]
 Returns the Blob location. More...
 

Detailed Description

The BlobDebugInformation describes debug information relating to a given Blob in a given Layer.

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

Definition at line 377 of file DebugInformation.cs.

Constructor & Destructor Documentation

◆ BlobDebugInformation()

MyCaffe.common.BlobDebugInformation< T >.BlobDebugInformation ( Blob< T >  b,
Blob< T >  work,
BLOBTYPE  type,
LOCATION  loc = LOCATION.NONE,
bool  bDetectNans = false 
)

The BlobDebugInformation constructor.

Parameters
bSpecifies the Blob.
workSpecifies the workspace.
typeSpecifies the Blob type.
locSpecifies the Blob location.
bDetectNansSpecifies whether or not to detect Nan's in the data.

Definition at line 438 of file DebugInformation.cs.

Member Function Documentation

◆ Compare()

Compares this BlobDebugInformation to another one.

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

Definition at line 595 of file DebugInformation.cs.

◆ DetectFirstNaN()

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

Search for the first NaN in the Blob.

Parameters
strTypeReturns the type of the Blob.
Returns
If a NaN is found, the name of the Blob is returned, otherwise null is returned.

Definition at line 641 of file DebugInformation.cs.

◆ DetectLastNaN()

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

Search for the last NaN in the Blob.

Parameters
strTypeReturns the type of the Blob.
Returns
If a NaN is found, the name of the Blob is returned, otherwise null is returned.

Definition at line 700 of file DebugInformation.cs.

◆ ToString()

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

Returns a string representation of the BlobDebugInformation.

Returns
The string representation is returned.

Definition at line 769 of file DebugInformation.cs.

Property Documentation

◆ BlobLocation

LOCATION MyCaffe.common.BlobDebugInformation< T >.BlobLocation
get

Returns the Blob location.

Definition at line 585 of file DebugInformation.cs.

◆ BlobType

BLOBTYPE MyCaffe.common.BlobDebugInformation< T >.BlobType
get

Returns the Blob type.

Definition at line 577 of file DebugInformation.cs.

◆ DataInfCount

double MyCaffe.common.BlobDebugInformation< T >.DataInfCount
get

Returns the number of infinity values detected in the Blob data.

Definition at line 519 of file DebugInformation.cs.

◆ DataMaxValue

double MyCaffe.common.BlobDebugInformation< T >.DataMaxValue
get

Returns the maximum value of the Blob data.

Definition at line 494 of file DebugInformation.cs.

◆ DataMinValue

double MyCaffe.common.BlobDebugInformation< T >.DataMinValue
get

Returns the minimum value of the Blob data.

Definition at line 477 of file DebugInformation.cs.

◆ DataNanCount

double MyCaffe.common.BlobDebugInformation< T >.DataNanCount
get

Returns the number of nans detected in the Blob data.

Definition at line 511 of file DebugInformation.cs.

◆ DiffInfCount

double MyCaffe.common.BlobDebugInformation< T >.DiffInfCount
get

Returns the number of infinity values detected in the Blob diff.

Definition at line 569 of file DebugInformation.cs.

◆ DiffMaxValue

double MyCaffe.common.BlobDebugInformation< T >.DiffMaxValue
get

Returns the maximum value of the Blob diff.

Definition at line 544 of file DebugInformation.cs.

◆ DiffMinValue

double MyCaffe.common.BlobDebugInformation< T >.DiffMinValue
get

Returns the minimum value of the Blob diff.

Definition at line 527 of file DebugInformation.cs.

◆ DiffNanCount

double MyCaffe.common.BlobDebugInformation< T >.DiffNanCount
get

Returns the number of nans detected in the Blob diff.

Definition at line 561 of file DebugInformation.cs.

◆ Name

Returns the name of the Blob.

Definition at line 461 of file DebugInformation.cs.

◆ Size

Returns the size of the Blob.

Definition at line 469 of file DebugInformation.cs.


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