MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.param.MaskParameter Class Reference

Specifies the parameters for the MaskParameter used to mask portions of the transformed data when active. More...

Inheritance diagram for MyCaffe.param.MaskParameter:
MyCaffe.param.OptionalParameter

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...
 

Detailed Description

Specifies the parameters for the MaskParameter used to mask portions of the transformed data when active.

Definition at line 17 of file MaskParameter.cs.

Constructor & Destructor Documentation

◆ MaskParameter()

MyCaffe.param.MaskParameter.MaskParameter ( bool  bActive)

The constructor.

Parameters
bActiveSpecifies whether or not the parameter is active or not.

Definition at line 28 of file MaskParameter.cs.

Member Function Documentation

◆ Clone()

MaskParameter MyCaffe.param.MaskParameter.Clone ( )

Return a copy of this object.

Returns
A new copy of the object is returned.

Definition at line 112 of file MaskParameter.cs.

◆ Copy()

override void MyCaffe.param.MaskParameter.Copy ( OptionalParameter  src)
virtual

Copy the source object.

Parameters
srcSpecifies the source data.

Reimplemented from MyCaffe.param.OptionalParameter.

Definition at line 94 of file MaskParameter.cs.

◆ FromProto()

static new MaskParameter MyCaffe.param.MaskParameter.FromProto ( RawProto  rp)
static

Parses the parameter from a RawProto.

Parameters
rpSpecifies the RawProto to parse.
Returns
A new instance of the parameter is returned.

Definition at line 143 of file MaskParameter.cs.

◆ Load()

MaskParameter MyCaffe.param.MaskParameter.Load ( BinaryReader  br,
bool  bNewInstance = true 
)

Load the and return a new MaskParameter.

Parameters
br
bNewInstance
Returns
The new object is returned.

Definition at line 79 of file MaskParameter.cs.

◆ ToProto()

override RawProto MyCaffe.param.MaskParameter.ToProto ( string  strName)
virtual

Convert this object to a raw proto.

Parameters
strNameSpecifies the name of the proto.
Returns
The new proto is returned.

Reimplemented from MyCaffe.param.OptionalParameter.

Definition at line 124 of file MaskParameter.cs.

Property Documentation

◆ boundary_bottom

int MyCaffe.param.MaskParameter.boundary_bottom
getset

Get/set the mask boundary bottom.

Definition at line 66 of file MaskParameter.cs.

◆ boundary_left

int MyCaffe.param.MaskParameter.boundary_left
getset

Get/set the mask boundary left.

Definition at line 36 of file MaskParameter.cs.

◆ boundary_right

int MyCaffe.param.MaskParameter.boundary_right
getset

Get/set the mask boundary left.

Definition at line 46 of file MaskParameter.cs.

◆ boundary_top

int MyCaffe.param.MaskParameter.boundary_top
getset

Get/set the mask boundary top.

Definition at line 56 of file MaskParameter.cs.


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