![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The ProgressInfo is used when reporting the overall progress of creating a dataset. More...
Public Member Functions | |
| ProgressInfo (long nIdx, long nTotal, string str, Exception err=null, bool? bAlive=null) | |
| The constructor. More... | |
Properties | |
| long | Index [get] |
| Return the current index in the process. More... | |
| long | Total [get] |
| Return the total items to process. More... | |
| double? | Percentage [get] |
| Returns the percentage of the current process. More... | |
| string | Message [get] |
| Returns the message as a string. More... | |
| Exception | Error [get] |
| Returns the error if one occurred, or null. More... | |
| bool? | Alive [getset] |
| Returns whether or not the process is alive or not. More... | |
The ProgressInfo is used when reporting the overall progress of creating a dataset.
Definition at line 16 of file ProgressInfo.cs.
| MyCaffe.data.ProgressInfo.ProgressInfo | ( | long | nIdx, |
| long | nTotal, | ||
| string | str, | ||
| Exception | err = null, |
||
| bool? | bAlive = null |
||
| ) |
The constructor.
| nIdx | Specifies the current index in the process. |
| nTotal | Specifies the total items to process. |
| str | Specifies the message to display. |
| err | Specifies an error if one occurred, or null. |
| bAlive | Specifies whether or not the process is alive. |
Definition at line 32 of file ProgressInfo.cs.
|
getset |
Returns whether or not the process is alive or not.
Definition at line 84 of file ProgressInfo.cs.
|
get |
Returns the error if one occurred, or null.
Definition at line 76 of file ProgressInfo.cs.
|
get |
Return the current index in the process.
Definition at line 44 of file ProgressInfo.cs.
|
get |
Returns the message as a string.
Definition at line 68 of file ProgressInfo.cs.
|
get |
Returns the percentage of the current process.
Definition at line 60 of file ProgressInfo.cs.
|
get |
Return the total items to process.
Definition at line 52 of file ProgressInfo.cs.