2using System.Collections.Generic;
4using System.Security.Cryptography;
19 double m_dfProgress = 0;
29 m_dfProgress = dfProgress;
37 get {
return m_strSrc; }
45 get {
return m_dfProgress; }
57 bool m_bOverrideEnabled =
false;
58 bool m_bConsumed =
false;
59 bool m_bDisable =
false;
70 public LogArg(
string strSrc,
string strMsg,
double dfProgress = 0.0,
bool bError =
false,
bool bOverrideEnabled =
false,
bool bDisable =
false)
71 : base(strSrc, dfProgress)
75 m_bOverrideEnabled = bOverrideEnabled;
76 m_bDisable = bDisable;
84 get {
return m_bConsumed; }
85 set { m_bConsumed = value; }
93 get {
return m_bDisable; }
94 set { m_bDisable = value; }
102 get {
return m_strMsg; }
110 get {
return m_bError; }
118 get {
return m_bOverrideEnabled; }
121#pragma warning disable 1591
125 get {
return m_tag; }
126 set { m_tag = value; }
129#pragma warning restore 1591
139 bool m_bCancelled =
false;
155 get {
return m_rgImg; }
163 get {
return m_mean; }
164 set { m_mean = value; }
172 get {
return m_bCancelled; }
173 set { m_bCancelled = value; }
198 get {
return m_proto; }
199 set { m_proto = value; }
219 m_rgfData =
new float[nCount];
227 get {
return m_rgShape; }
235 get {
return m_rgfData; }
The CalculateImageMeanArgs is passed as an argument to the MyCaffeImageDatabase::OnCalculateImageMean...
SimpleDatum ImageMean
Get/set the image mean calculated from the Images.
CalculateImageMeanArgs(SimpleDatum[] rgImg)
The CalculateImageMeanArgs constructor.
SimpleDatum[] Images
Specifies the list of images from which the mean should be calculated.
bool Cancelled
Get/set a flag indicating to cancel the operation.
The LogArg is passed as an argument to the Log::OnWriteLine event.
bool Consumed
Specifies whether or not the message has already been consumed.
bool OverrideEnabled
Returns whether or not the override was enabled or not.
bool Error
Returns whether or not this is an error message.
string Message
Returns the message logged.
bool Disable
Specifies whether or not to mark this log entry as disabled so that it is not output.
LogArg(string strSrc, string strMsg, double dfProgress=0.0, bool bError=false, bool bOverrideEnabled=false, bool bDisable=false)
The LogArg constructor.
The LogProgressArg is passed as an argument to the Log::OnProgress event.
LogProgressArg(string strSrc, double dfProgress)
The LogProgressArg constructor.
double Progress
Returns the progress value.
string Source
Returns the Log source name.
The LossArgs contains the loss values for a given batch.
List< int > Shape
Specifies the shape of the data.
float[] Data
Specifies the loss values for a given batch.
LossArgs(int nCount, List< int > rgShape)
The constructor.
The OverrideProjectArgs is passed as an argument to the OnOverrideModel and OnOverrideSolver events f...
RawProto Proto
Get/set the RawProto used.
OverrideProjectArgs(RawProto proto)
The OverrideProjectArgs constructor.
The RawProto class is used to parse and output Google prototxt file data.
The SimpleDatum class holds a data input within host memory.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.