|  | 
                                MyCaffe
                                 1.12.2.41
                             Deep learning software for Windows C# programmers. | 
The DataItem manages one synchronized data item where the first element is the sync field. More...
| Public Member Functions | |
| DataItem (int nFieldCount) | |
| The constructor.  More... | |
| int | Add (int nFieldIdx, int nItemIdx, double[] rg, int nFieldCount) | 
| Adds a new set of raw data to the synchronized data.  More... | |
| bool | Add (int nFieldIdx, double df) | 
| Add a new data item at a specified field index.  More... | |
| double[] | GetData () | 
| Returns the synchronized data fields.  More... | |
| void | Reset () | 
| Clears the data fields and the filled status.  More... | |
The DataItem manages one synchronized data item where the first element is the sync field.
Definition at line 12 of file DataItem.cs.
| MyCaffe.db.stream.DataItem.DataItem | ( | int | nFieldCount | ) | 
The constructor.
| nFieldCount | Specifies the total number of fields to be collected. | 
Definition at line 22 of file DataItem.cs.
| bool MyCaffe.db.stream.DataItem.Add | ( | int | nFieldIdx, | 
| double | df | ||
| ) | 
Add a new data item at a specified field index.
| nFieldIdx | Specifies the field index. | 
| df | Specifies the raw data. | 
Definition at line 57 of file DataItem.cs.
| int MyCaffe.db.stream.DataItem.Add | ( | int | nFieldIdx, | 
| int | nItemIdx, | ||
| double[] | rg, | ||
| int | nFieldCount | ||
| ) | 
Adds a new set of raw data to the synchronized data.
| nFieldIdx | Specifies the field index where the data is to be added. | 
| nItemIdx | Specifies the item index of the data. | 
| rg | Specifies the raw data. | 
| nFieldCount | Specifies the local number of fields contained in the 'rg' parameter. | 
Definition at line 37 of file DataItem.cs.
| double[] MyCaffe.db.stream.DataItem.GetData | ( | ) | 
| void MyCaffe.db.stream.DataItem.Reset | ( | ) | 
Clears the data fields and the filled status.
Definition at line 80 of file DataItem.cs.