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

Specifies the parameters for the SaltPepperParameter used with SSD. More...

Inheritance diagram for MyCaffe.param.ssd.SaltPepperParameter:
MyCaffe.param.OptionalParameter

Public Member Functions

 SaltPepperParameter (bool bActive)
 The constructor. More...
 
override void Copy (OptionalParameter src)
 Copy the object. More...
 
SaltPepperParameter Clone ()
 Return a clone of the 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 SaltPepperParameter 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

float fraction [getset]
 Get/set the percentage of pixels. More...
 
List< float > value [getset]
 Get/set the values. 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 SaltPepperParameter used with SSD.

See also
SSD: Single Shot MultiBox Detector by Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg, 2016.
GitHub: SSD: Single Shot MultiBox Detector, by weiliu89/caffe, 2016

Definition at line 21 of file SaltPepperParameter.cs.

Constructor & Destructor Documentation

◆ SaltPepperParameter()

MyCaffe.param.ssd.SaltPepperParameter.SaltPepperParameter ( bool  bActive)

The constructor.

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

Definition at line 30 of file SaltPepperParameter.cs.

Member Function Documentation

◆ Clone()

SaltPepperParameter MyCaffe.param.ssd.SaltPepperParameter.Clone ( )

Return a clone of the object.

Returns
A new copy of the object is returned.

Definition at line 79 of file SaltPepperParameter.cs.

◆ Copy()

override void MyCaffe.param.ssd.SaltPepperParameter.Copy ( OptionalParameter  src)
virtual

Copy the object.

Parameters
srcThe copy is placed in this parameter.

Reimplemented from MyCaffe.param.OptionalParameter.

Definition at line 58 of file SaltPepperParameter.cs.

◆ FromProto()

static new SaltPepperParameter MyCaffe.param.ssd.SaltPepperParameter.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 113 of file SaltPepperParameter.cs.

◆ ToProto()

override RawProto MyCaffe.param.ssd.SaltPepperParameter.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 91 of file SaltPepperParameter.cs.

Property Documentation

◆ fraction

float MyCaffe.param.ssd.SaltPepperParameter.fraction
getset

Get/set the percentage of pixels.

Definition at line 38 of file SaltPepperParameter.cs.

◆ value

List<float> MyCaffe.param.ssd.SaltPepperParameter.value
getset

Get/set the values.

Definition at line 48 of file SaltPepperParameter.cs.


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