![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The Cache class is used to cache blobs over time. More...
Public Member Functions | |
| Cache (CudaDnn< T > cuda, Log log) | |
| The constructor. More... | |
| void | Dispose () |
| Release any resources used. More... | |
| void | Create (int nCount, List< int > rgItemShape) |
| Create the cache memory. More... | |
| void | Reset () |
| Resets the cache. More... | |
| void | CopyToCache (Blob< T > b, int nAxis) |
| Copies a blob to the current location in the cache. More... | |
| void | CopyFromCache (Blob< T > b, int nAxis) |
| Copies a value from the current location in the cache to the blob. More... | |
The Cache class is used to cache blobs over time.
| T | Specifies the base type. |
Definition at line 708 of file ComputeGraph.cs.
| MyCaffe.common.Cache< T >.Cache | ( | CudaDnn< T > | cuda, |
| Log | log | ||
| ) |
The constructor.
| cuda | Specifies the connection to Cuda. |
| log | Specifies the log for output. |
Definition at line 719 of file ComputeGraph.cs.
| void MyCaffe.common.Cache< T >.CopyFromCache | ( | Blob< T > | b, |
| int | nAxis | ||
| ) |
Copies a value from the current location in the cache to the blob.
| b | Specifies the blob where the data is copied. |
| nAxis | Specifies the axis where all data to the right is copied. |
Definition at line 780 of file ComputeGraph.cs.
| void MyCaffe.common.Cache< T >.CopyToCache | ( | Blob< T > | b, |
| int | nAxis | ||
| ) |
Copies a blob to the current location in the cache.
| b | Specifies the blob to copy. |
| nAxis | Specifies the axis where all data to the right is copied. |
Definition at line 764 of file ComputeGraph.cs.
| void MyCaffe.common.Cache< T >.Create | ( | int | nCount, |
| List< int > | rgItemShape | ||
| ) |
Create the cache memory.
| nCount | Specifies the number of items in the cache. |
| rgItemShape | Specifies the shape of each item within the cache. |
Definition at line 743 of file ComputeGraph.cs.
| void MyCaffe.common.Cache< T >.Dispose | ( | ) |
Release any resources used.
Definition at line 729 of file ComputeGraph.cs.
| void MyCaffe.common.Cache< T >.Reset | ( | ) |
Resets the cache.
Definition at line 753 of file ComputeGraph.cs.