2using System.Collections.Generic;
82 public void Save(BinaryWriter bw)
94 public abstract object Load(BinaryReader br,
bool bNewInstance =
true);
The BaseParameter class is the base class for all other parameter classes.
abstract RawProto ToProto(string strName)
Convert the parameter into a RawProto.
The RawProto class is used to parse and output Google prototxt file data.
override string ToString()
Returns the RawProto as its full prototxt string.
The LayerParameterBase is the base class for all other layer specific parameters.
virtual string PrepareRunModelInputs()
This method gives derivative classes a chance specify model inputs required by the run model.
LABEL_TYPE
Defines the label type.
LayerParameterBase()
Constructor for the parameter.
abstract LayerParameterBase Clone()
Creates a new copy of this instance of the parameter.
void Save(BinaryWriter bw)
Save this parameter to a binary writer.
abstract void Copy(LayerParameterBase src)
Copy on parameter to another.
abstract object Load(BinaryReader br, bool bNewInstance=true)
Load the parameter from a binary reader.
virtual void PrepareRunModel(LayerParameter p)
This method gives derivative classes a chance to prepare the layer for a run-model.
Specifies the base parameter for all layers.
The IBinaryPersist interface provides generic save and load functionality.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
@ NONE
No training category specified.
The MyCaffe.common namespace contains common MyCaffe classes.
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-...