2using System.Collections.Generic;
17 [TypeConverter(typeof(ExpandableObjectConverter))]
20 List<float> m_rgAccuracyRanges =
new List<float>();
21 uint m_nAveragePeriod = 30;
31 [Description(
"Specifies the quantile ranges from center to check for predicted values against target values. The number of target values falling within the center +/- each quantile accuracy range defines the accuracy.")]
34 get {
return m_rgAccuracyRanges; }
35 set { m_rgAccuracyRanges = value; }
41 [Description(
"Specifies the period over which the accuracy is averaged (default = 30).")]
44 get {
return m_nAveragePeriod; }
45 set { m_nAveragePeriod = value; }
49 public override object Load(
System.IO.BinaryReader br,
bool bNewInstance =
true)
65 m_nAveragePeriod = p.m_nAveragePeriod;
88 return new RawProto(strName,
"", rgChildren);
103 if ((strVal = rp.
FindValue(
"average_period")) !=
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 Utility class provides general utility funtions.
The LayerParameterBase is the base class for all other layer specific parameters.
Specifies the parameters for the QuantileAccuracyLayer used in TFT models
QuantileAccuracyParameter()
Constructor for the parameter.
override LayerParameterBase Clone()
Creates a new copy of this instance of the parameter.
override void Copy(LayerParameterBase src)
Copy on parameter to another.
static QuantileAccuracyParameter FromProto(RawProto rp)
Parses the parameter from a RawProto.
List< float > accuracy_ranges
Specifies the quantile ranges from center to check for predicted values against target values....
override RawProto ToProto(string strName)
Convert the parameter into a RawProto.
override object Load(System.IO.BinaryReader br, bool bNewInstance=true)
Load the parameter from a binary reader.
uint average_period
Specifies the period over which the accuracy is averaged (default = 30).
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-...