2using System.Collections.Generic;
14 [TypeConverter(typeof(ExpandableObjectConverter))]
22 m_shape.
dim =
new List<int>() { 0, 1, 2, 3 };
34 [Description(
"Specifies the dimensions to transpose.")]
37 get {
return m_shape.
dim; }
38 set { m_shape.
dim = value; }
42 public override object Load(
System.IO.BinaryReader br,
bool bNewInstance =
true)
57 m_shape = p.m_shape.
Clone();
75 return m_shape.
ToProto(strName);
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.
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.
List< int > dim
The blob shape dimensions.
The LayerParameterBase is the base class for all other layer specific parameters.
Specifies the parameters for the TransposeLayer.
override RawProto ToProto(string strName)
Convert the parameter into a RawProto.
static TransposeParameter 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.
override void Copy(LayerParameterBase src)
Copy on parameter to another.
override LayerParameterBase Clone()
Creates a new copy of this instance of the parameter.
List< int > dim
Specifies the dimensions to transpose.
TransposeParameter()
Constructor for the parameter.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
The MyCaffe.param.beta parameters are used by the MyCaffe.layer.beta layers.
The MyCaffe namespace contains the main body of MyCaffe code that closesly tracks the C++ Caffe open-...