2using System.Collections.Generic;
14 [TypeConverter(typeof(ExpandableObjectConverter))]
27 [Description(
"Specifies the parameter shape.")]
30 get {
return m_shape; }
31 set { m_shape = value; }
35 public override object Load(
System.IO.BinaryReader br,
bool bNewInstance =
true)
50 m_shape = p.m_shape.
Clone();
72 return new RawProto(strName,
"", rgChildren);
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.
RawProto FindChild(string strName)
Searches for a given node.
static RawProto Parse(string str)
Parses a prototxt and places it in a new RawProto.
Specifies the shape of a Blob.
override RawProto ToProto(string strName)
Converts the BlobShape to a RawProto.
BlobShape Clone()
Creates a copy of the BlobShape.
static BlobShape FromProto(RawProto rp)
Parse a new BlobShape from a RawProto.
The LayerParameterBase is the base class for all other layer specific parameters.
Specifies the parameters for the ParameterLayer
ParameterParameter()
Constructor for the parameter.
override RawProto ToProto(string strName)
Convert the parameter into a RawProto.
override void Copy(LayerParameterBase src)
Copy on parameter to another.
BlobShape shape
Specifies the parameter shape.
override LayerParameterBase Clone()
Creates a new copy of this instance of the parameter.
static ParameterParameter FromProto(RawProto rp)
Parses the parameter from a RawProto.
override object Load(System.IO.BinaryReader br, bool bNewInstance=true)
Load the parameter from a binary reader.
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-...