![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The ActionStateArgs are sent to the DoWork event when fired from the InternalThreadEntry. More...
Public Member Functions | |
| ActionStateArgs (CudaDnn< T > cuda, Log log, CancelEvent evtCancel, int nDeviceID=0, object arg=null, int nInitialDelay=0) | |
| The ActionStateArgs constructor. More... | |
Properties | |
| CudaDnn< T > | cuda [getset] |
| Get/set the Cuda Dnn connection to Cuda. More... | |
| Log | log [get] |
| Returns the Log used for output. More... | |
| CancelEvent | CancelEvent [get] |
| Returns the CancelEvent used to cancel the thread. More... | |
| int | DeviceID [get] |
| Returns the Device ID of the device to use in the thread. More... | |
| object | Arg [get] |
| Returns the user supplied argument. More... | |
| int | InitialDelay [get] |
| Returns the initial delay in ms (if any). More... | |
The ActionStateArgs are sent to the DoWork event when fired from the InternalThreadEntry.
| T | Specifies the base type float or double. Using float is recommended to conserve GPU memory. |
Definition at line 194 of file InternalThread.cs.
| MyCaffe.common.ActionStateArgs< T >.ActionStateArgs | ( | CudaDnn< T > | cuda, |
| Log | log, | ||
| CancelEvent | evtCancel, | ||
| int | nDeviceID = 0, |
||
| object | arg = null, |
||
| int | nInitialDelay = 0 |
||
| ) |
The ActionStateArgs constructor.
| cuda | Specifies the CudaDnn connection to Cuda. |
| log | Specifies the Log for output. |
| evtCancel | Specifies the CancelEvent that when Set signals to DoWork that it should terminate. |
| nDeviceID | Optionally, specifies the DeviceID. |
| arg | Optionally, specifies an argument defined by the caller. |
| nInitialDelay | Optionally, specifies an initial delay for the thread in ms. (default = 0). |
Definition at line 212 of file InternalThread.cs.
|
get |
Returns the user supplied argument.
Definition at line 259 of file InternalThread.cs.
Returns the CancelEvent used to cancel the thread.
Definition at line 243 of file InternalThread.cs.
|
getset |
Get/set the Cuda Dnn connection to Cuda.
Definition at line 226 of file InternalThread.cs.
|
get |
Returns the Device ID of the device to use in the thread.
Definition at line 251 of file InternalThread.cs.
|
get |
Returns the initial delay in ms (if any).
Definition at line 267 of file InternalThread.cs.
|
get |
Returns the Log used for output.
Definition at line 235 of file InternalThread.cs.