MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.basecode.descriptors.LabelDescriptor Class Reference

The LabelDescriptor class describes a single label. More...

Public Member Functions

 LabelDescriptor (int nLabel, int nActiveLabel, string strName, int nImageCount)
 The LabelDescriptor constructor. More...
 
 LabelDescriptor (LabelDescriptor l)
 The LabelDescriptor constructor. More...
 
override string ToString ()
 Creates the string representation of the descriptor. More...
 

Properties

int Label [get]
 Specifies the original label More...
 
int ActiveLabel [get]
 Specifies the active label (used during training). More...
 
string Name [get]
 Specifies the label name. More...
 
int ImageCount [getset]
 Specifies the number of images under this label. More...
 

Detailed Description

The LabelDescriptor class describes a single label.

Definition at line 13 of file LabelDescriptor.cs.

Constructor & Destructor Documentation

◆ LabelDescriptor() [1/2]

MyCaffe.basecode.descriptors.LabelDescriptor.LabelDescriptor ( int  nLabel,
int  nActiveLabel,
string  strName,
int  nImageCount 
)

The LabelDescriptor constructor.

Parameters
nLabelSpecifies the original label.
nActiveLabelSpecifies the active label (used during training).
strNameSpecifies the label name.
nImageCountSpecifies the number of images under this label.

Definition at line 27 of file LabelDescriptor.cs.

◆ LabelDescriptor() [2/2]

MyCaffe.basecode.descriptors.LabelDescriptor.LabelDescriptor ( LabelDescriptor  l)

The LabelDescriptor constructor.

Parameters
lSpecifies another LabelDescriptor used to create this one.

Definition at line 39 of file LabelDescriptor.cs.

Member Function Documentation

◆ ToString()

override string MyCaffe.basecode.descriptors.LabelDescriptor.ToString ( )

Creates the string representation of the descriptor.

Returns
The string representation of the descriptor is returned.

Definition at line 81 of file LabelDescriptor.cs.

Property Documentation

◆ ActiveLabel

int MyCaffe.basecode.descriptors.LabelDescriptor.ActiveLabel
get

Specifies the active label (used during training).

Definition at line 55 of file LabelDescriptor.cs.

◆ ImageCount

int MyCaffe.basecode.descriptors.LabelDescriptor.ImageCount
getset

Specifies the number of images under this label.

Definition at line 71 of file LabelDescriptor.cs.

◆ Label

int MyCaffe.basecode.descriptors.LabelDescriptor.Label
get

Specifies the original label

Definition at line 47 of file LabelDescriptor.cs.

◆ Name

string MyCaffe.basecode.descriptors.LabelDescriptor.Name
get

Specifies the label name.

Definition at line 63 of file LabelDescriptor.cs.


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