2using System.Collections.Generic;
19 [TypeConverter(typeof(ExpandableObjectConverter))]
23 uint m_nStateSize = 0;
33 [Description(
"The number of inputs for the layer.")]
36 get {
return m_nNumInput; }
37 set { m_nNumInput = value; }
43 [Description(
"The state size that defines the output vector width.")]
46 get {
return m_nStateSize; }
47 set { m_nStateSize = value; }
51 public override object Load(
System.IO.BinaryReader br,
bool bNewInstance =
true)
67 m_nNumInput = p.m_nNumInput;
68 m_nStateSize = p.m_nStateSize;
91 return new RawProto(strName,
"", rgChildren);
104 if ((strVal = rp.
FindValue(
"num_input")) !=
null)
107 if ((strVal = rp.
FindValue(
"state_size")) !=
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.
The LayerParameterBase is the base class for all other layer specific parameters.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
The MyCaffe namespace contains the main body of MyCaffe code that closesly tracks the C++ Caffe open-...