MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
Specifies the parameters for the DataLabelMappingParameter used to map labels by the DataTransformer.TransformLabel when active. More...
Public Member Functions | |
DataLabelMappingParameter (bool bActive) | |
The constructor. More... | |
int | MapLabel (int nLabel, int nBoost) |
Queries the mapped label for a given label. More... | |
DataLabelMappingParameter | Load (BinaryReader br, bool bNewInstance=true) |
Load the and return a new DataLabelMappingParameter. More... | |
override void | Copy (OptionalParameter src) |
Copies the specified source data label mapping parameter to this one. More... | |
DataLabelMappingParameter | Clone () |
Return a copy of this object. More... | |
override RawProto | ToProto (string strName) |
Convert the DataLabelMappingParameter into a RawProto. More... | |
Public Member Functions inherited from MyCaffe.param.OptionalParameter | |
OptionalParameter (bool bActive=false) | |
The constructor. More... | |
Static Public Member Functions | |
static new DataLabelMappingParameter | FromProto (RawProto rp) |
Parses the parameter from a RawProto. More... | |
Static Public Member Functions inherited from MyCaffe.param.OptionalParameter | |
static OptionalParameter | FromProto (RawProto rp) |
Parses the parameter from a RawProto. More... | |
Properties | |
List< LabelMapping > | mapping [getset] |
Specifies the label mapping where the original label is mapped to the new label specified. More... | |
Properties inherited from MyCaffe.param.OptionalParameter | |
bool | Active [getset] |
When active, the parameter is used, otherwise it is ignored. More... | |
Specifies the parameters for the DataLabelMappingParameter used to map labels by the DataTransformer.TransformLabel when active.
Definition at line 17 of file DataLabelMappingParameter.cs.
MyCaffe.param.DataLabelMappingParameter.DataLabelMappingParameter | ( | bool | bActive | ) |
The constructor.
bActive | Specifies whether or not the parameter is active or not. |
Definition at line 25 of file DataLabelMappingParameter.cs.
DataLabelMappingParameter MyCaffe.param.DataLabelMappingParameter.Clone | ( | ) |
Return a copy of this object.
Definition at line 86 of file DataLabelMappingParameter.cs.
|
virtual |
Copies the specified source data label mapping parameter to this one.
src | Specifies the source data label mapping parameter. |
Reimplemented from MyCaffe.param.OptionalParameter.
Definition at line 71 of file DataLabelMappingParameter.cs.
|
static |
Parses the parameter from a RawProto.
rp | Specifies the RawProto to parse. |
Definition at line 116 of file DataLabelMappingParameter.cs.
DataLabelMappingParameter MyCaffe.param.DataLabelMappingParameter.Load | ( | BinaryReader | br, |
bool | bNewInstance = true |
||
) |
Load the and return a new DataLabelMappingParameter.
br | |
bNewInstance |
Definition at line 56 of file DataLabelMappingParameter.cs.
int MyCaffe.param.DataLabelMappingParameter.MapLabel | ( | int | nLabel, |
int | nBoost | ||
) |
Queries the mapped label for a given label.
nLabel | Specifies the label to query the mapped label from. |
nBoost | Specifies the boost condition that must be met if specified. |
Definition at line 45 of file DataLabelMappingParameter.cs.
|
virtual |
Convert the DataLabelMappingParameter into a RawProto.
strName | Specifies the RawProto name. |
Reimplemented from MyCaffe.param.OptionalParameter.
Definition at line 99 of file DataLabelMappingParameter.cs.
|
getset |
Specifies the label mapping where the original label is mapped to the new label specified.
Definition at line 33 of file DataLabelMappingParameter.cs.