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

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

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

Public Member Functions

 ExpansionParameter (bool bActive)
 The constructor. More...
 
override void Copy (OptionalParameter src)
 Copy the object. More...
 
ExpansionParameter 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 ExpansionParameter 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 prob [getset]
 Get/set probability of using this expansion policy. More...
 
float max_expand_ratio [getset]
 Get/set the ratio to expand the image. 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 ExpansionParameter 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 ExpansionParameter.cs.

Constructor & Destructor Documentation

◆ ExpansionParameter()

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

The constructor.

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

Definition at line 30 of file ExpansionParameter.cs.

Member Function Documentation

◆ Clone()

ExpansionParameter MyCaffe.param.ssd.ExpansionParameter.Clone ( )

Return a clone of the object.

Returns
A new copy of the object is returned.

Definition at line 74 of file ExpansionParameter.cs.

◆ Copy()

override void MyCaffe.param.ssd.ExpansionParameter.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 ExpansionParameter.cs.

◆ FromProto()

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

◆ ToProto()

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

Property Documentation

◆ max_expand_ratio

float MyCaffe.param.ssd.ExpansionParameter.max_expand_ratio
getset

Get/set the ratio to expand the image.

Definition at line 48 of file ExpansionParameter.cs.

◆ prob

float MyCaffe.param.ssd.ExpansionParameter.prob
getset

Get/set probability of using this expansion policy.

Definition at line 38 of file ExpansionParameter.cs.


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