MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The LabelMapItem class stores the information for a single label. More...
Public Member Functions | |
LabelMapItem (int nLabel=0, string strName=null, string strDisplay=null) | |
The constructor. More... | |
void | Copy (LabelMapItem src) |
Copy the source object. More... | |
LabelMapItem | Clone () |
Return a copy of this object. More... | |
RawProto | ToProto (string strName) |
Convert this object to a raw proto. More... | |
Static Public Member Functions | |
static LabelMapItem | FromProto (RawProto rp) |
Parses the parameter from a RawProto. More... | |
Properties | |
string | name [getset] |
Get/set the label name. More... | |
string | display [getset] |
Optionally, get/set the display name for the label. More... | |
int | label [getset] |
Get/set the label id. More... | |
The LabelMapItem class stores the information for a single label.
Definition at line 209 of file LabelMap.cs.
MyCaffe.param.ssd.LabelMapItem.LabelMapItem | ( | int | nLabel = 0 , |
string | strName = null , |
||
string | strDisplay = null |
||
) |
The constructor.
nLabel | Optionally, specify the label id (default = 0). |
strName | Optionally, specify the label name (default = null). |
strDisplay | Optionally, specify the label display name (default = null). |
Definition at line 221 of file LabelMap.cs.
LabelMapItem MyCaffe.param.ssd.LabelMapItem.Clone | ( | ) |
Return a copy of this object.
Definition at line 270 of file LabelMap.cs.
void MyCaffe.param.ssd.LabelMapItem.Copy | ( | LabelMapItem | src | ) |
Copy the source object.
src | Specifies the source data. |
Definition at line 259 of file LabelMap.cs.
|
static |
Parses the parameter from a RawProto.
rp | Specifies the RawProto to parse. |
Definition at line 298 of file LabelMap.cs.
RawProto MyCaffe.param.ssd.LabelMapItem.ToProto | ( | string | strName | ) |
Convert this object to a raw proto.
strName | Specifies the name of the proto. |
Definition at line 280 of file LabelMap.cs.
|
getset |
Optionally, get/set the display name for the label.
Definition at line 240 of file LabelMap.cs.
|
getset |
Get/set the label id.
Definition at line 249 of file LabelMap.cs.
|
getset |
Get/set the label name.
Definition at line 231 of file LabelMap.cs.