2using System.Collections.Generic;
16 [TypeConverter(typeof(ExpandableObjectConverter))]
19 double m_dfAlphaIn = 0.5;
20 double m_dfAlphaOut = 0.5;
30 [Description(
"Specifies the alpha applied to the input channels.")]
33 get {
return m_dfAlphaIn; }
34 set { m_dfAlphaIn = value; }
40 [Description(
"Specifies the alpha applied to the output channels.")]
43 get {
return m_dfAlphaOut; }
44 set { m_dfAlphaOut = value; }
48 public override object Load(
System.IO.BinaryReader br,
bool bNewInstance =
true)
90 return new RawProto(strName,
"", rgChildren);
103 if ((strVal = rp.
FindValue(
"alpha_in")) !=
null)
106 if ((strVal = rp.
FindValue(
"alpha_out")) !=
null)
The RawProtoCollection class is a list of RawProto objects.
void Add(RawProto p)
Adds a RawProto to the collection.
The RawProto class is used to parse and output Google prototxt file data.
static RawProto Parse(string str)
Parses a prototxt and places it in a new RawProto.
string FindValue(string strName)
Searches for a falue of a node within this nodes children.
Specifies the parameters for the ConvolutionOctaveLayer.
override object Load(System.IO.BinaryReader br, bool bNewInstance=true)
Load the parameter from a binary reader.
static ConvolutionOctaveParameter FromProto(RawProto rp)
Parses the parameter from a RawProto.
ConvolutionOctaveParameter()
Constructor for the parameter.
override void Copy(LayerParameterBase src)
Copy on parameter to another.
double alpha_out
Specifies alpha applied to the output channels.
override RawProto ToProto(string strName)
Convert the parameter into a RawProto.
double alpha_in
Specifies alpha applied to the input channels.
override LayerParameterBase Clone()
Creates a new copy of this instance of the parameter.
The LayerParameterBase is the base class for all other layer specific parameters.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
The MyCaffe.param namespace contains parameters used to create models.
The MyCaffe namespace contains the main body of MyCaffe code that closesly tracks the C++ Caffe open-...