MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The OptionalParameter is the base class for parameters that are optional such as the MaskParameter, DistorationParameter, ExpansionParameter, NoiseParameter, and ResizeParameter. More...
Public Member Functions | |
OptionalParameter (bool bActive=false) | |
The constructor. More... | |
virtual void | Copy (OptionalParameter src) |
Copy the source object. More... | |
virtual RawProto | ToProto (string strName) |
Convert this object to a raw proto. More... | |
Static Public Member Functions | |
static OptionalParameter | FromProto (RawProto rp) |
Parses the parameter from a RawProto. More... | |
Properties | |
bool | Active [getset] |
When active, the parameter is used, otherwise it is ignored. More... | |
The OptionalParameter is the base class for parameters that are optional such as the MaskParameter, DistorationParameter, ExpansionParameter, NoiseParameter, and ResizeParameter.
Definition at line 16 of file OptionalParameter.cs.
MyCaffe.param.OptionalParameter.OptionalParameter | ( | bool | bActive = false | ) |
The constructor.
bActive | Specifies whether or not the parameter is active (default = false). |
Definition at line 24 of file OptionalParameter.cs.
|
virtual |
Copy the source object.
src | Specifies the source data. |
Reimplemented in MyCaffe.param.ssd.DistortionParameter, MyCaffe.param.ssd.EmitConstraint, MyCaffe.param.ssd.ExpansionParameter, MyCaffe.param.ssd.NoiseParameter, MyCaffe.param.ssd.NonMaximumSuppressionParameter, MyCaffe.param.ssd.ResizeParameter, MyCaffe.param.ssd.SaltPepperParameter, MyCaffe.param.ssd.SaveOutputParameter, MyCaffe.param.DataLabelMappingParameter, and MyCaffe.param.MaskParameter.
Definition at line 43 of file OptionalParameter.cs.
|
static |
Parses the parameter from a RawProto.
rp | Specifies the RawProto to parse. |
Definition at line 67 of file OptionalParameter.cs.
|
virtual |
Convert this object to a raw proto.
strName | Specifies the name of the proto. |
Reimplemented in MyCaffe.param.ssd.DistortionParameter, MyCaffe.param.ssd.EmitConstraint, MyCaffe.param.ssd.ExpansionParameter, MyCaffe.param.ssd.NoiseParameter, MyCaffe.param.ssd.NonMaximumSuppressionParameter, MyCaffe.param.ssd.ResizeParameter, MyCaffe.param.ssd.SaltPepperParameter, MyCaffe.param.ssd.SaveOutputParameter, MyCaffe.param.DataLabelMappingParameter, and MyCaffe.param.MaskParameter.
Definition at line 53 of file OptionalParameter.cs.
|
getset |
When active, the parameter is used, otherwise it is ignored.
Definition at line 33 of file OptionalParameter.cs.