MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
Specifies the parameters for the MaskParameter used to mask portions of the transformed data when active. More...
Public Member Functions | |
MaskParameter (bool bActive) | |
The constructor. More... | |
MaskParameter | Load (BinaryReader br, bool bNewInstance=true) |
Load the and return a new MaskParameter. More... | |
override void | Copy (OptionalParameter src) |
Copy the source object. More... | |
MaskParameter | Clone () |
Return a copy of this object. More... | |
override RawProto | ToProto (string strName) |
Convert this object to a raw proto. More... | |
Public Member Functions inherited from MyCaffe.param.OptionalParameter | |
OptionalParameter (bool bActive=false) | |
The constructor. More... | |
Static Public Member Functions | |
static new MaskParameter | 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 | |
int | boundary_left [getset] |
Get/set the mask boundary left. More... | |
int | boundary_right [getset] |
Get/set the mask boundary left. More... | |
int | boundary_top [getset] |
Get/set the mask boundary top. More... | |
int | boundary_bottom [getset] |
Get/set the mask boundary bottom. 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 MaskParameter used to mask portions of the transformed data when active.
Definition at line 17 of file MaskParameter.cs.
MyCaffe.param.MaskParameter.MaskParameter | ( | bool | bActive | ) |
The constructor.
bActive | Specifies whether or not the parameter is active or not. |
Definition at line 28 of file MaskParameter.cs.
MaskParameter MyCaffe.param.MaskParameter.Clone | ( | ) |
Return a copy of this object.
Definition at line 112 of file MaskParameter.cs.
|
virtual |
Copy the source object.
src | Specifies the source data. |
Reimplemented from MyCaffe.param.OptionalParameter.
Definition at line 94 of file MaskParameter.cs.
|
static |
Parses the parameter from a RawProto.
rp | Specifies the RawProto to parse. |
Definition at line 143 of file MaskParameter.cs.
MaskParameter MyCaffe.param.MaskParameter.Load | ( | BinaryReader | br, |
bool | bNewInstance = true |
||
) |
Load the and return a new MaskParameter.
br | |
bNewInstance |
Definition at line 79 of file MaskParameter.cs.
|
virtual |
Convert this object to a raw proto.
strName | Specifies the name of the proto. |
Reimplemented from MyCaffe.param.OptionalParameter.
Definition at line 124 of file MaskParameter.cs.
|
getset |
Get/set the mask boundary bottom.
Definition at line 66 of file MaskParameter.cs.
|
getset |
Get/set the mask boundary left.
Definition at line 36 of file MaskParameter.cs.
|
getset |
Get/set the mask boundary left.
Definition at line 46 of file MaskParameter.cs.
|
getset |
Get/set the mask boundary top.
Definition at line 56 of file MaskParameter.cs.