6using System.Collections.Generic;
9using System.Threading.Tasks;
22 bool? m_bAlive =
null;
32 public ProgressInfo(
long nIdx,
long nTotal,
string str, Exception err =
null,
bool? bAlive =
null)
46 get {
return m_nIdx; }
54 get {
return m_nTotal; }
62 get {
return (m_nTotal == 0) ? 0 : (double)m_nIdx / (
double)m_nTotal; }
70 get {
return m_strMsg; }
86 get {
return m_bAlive; }
87 set { m_bAlive = value; }
The ProgressInfo is used when reporting the overall progress of creating a dataset.
bool? Alive
Returns whether or not the process is alive or not.
long Total
Return the total items to process.
double? Percentage
Returns the percentage of the current process.
Exception Error
Returns the error if one occurred, or null.
string Message
Returns the message as a string.
long Index
Return the current index in the process.
ProgressInfo(long nIdx, long nTotal, string str, Exception err=null, bool? bAlive=null)
The constructor.
The MyCaffe.data namespace contains dataset creators used to create common testing datasets such as M...