![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The FieldCollection manages a collection of fields. More...
Public Member Functions | |
| FieldCollection () | |
| The constructor. More... | |
| int | FindFieldIndex (Field.INPUT_TYPE type) |
| Locates the index of the field by its type. More... | |
| void | Add (Field field) |
| Add a new field to the collection. More... | |
| IEnumerator< Field > | GetEnumerator () |
| Return the enumeration of the fields. More... | |
Static Public Member Functions | |
| static FieldCollection | Load (XmlNode node) |
| Loads a collection of fields from an XML node. More... | |
Properties | |
| Field | this[int nIdx] [get] |
| Get a field at a given index. More... | |
| Field | this[string strName] [get] |
| Get a field by name. More... | |
| int | Count [get] |
| Returns the number of fields in the collection. More... | |
| string | File [get] |
| Returns the NPY file for which the fields are associated with. More... | |
The FieldCollection manages a collection of fields.
Definition at line 692 of file DataSchema.cs.
| MyCaffe.layers.tft.FieldCollection.FieldCollection | ( | ) |
The constructor.
Definition at line 700 of file DataSchema.cs.
| void MyCaffe.layers.tft.FieldCollection.Add | ( | Field | field | ) |
Add a new field to the collection.
| field | Specifies the field to add. |
Definition at line 747 of file DataSchema.cs.
| int MyCaffe.layers.tft.FieldCollection.FindFieldIndex | ( | Field.INPUT_TYPE | type | ) |
Locates the index of the field by its type.
| type | The field type to look for. |
Definition at line 732 of file DataSchema.cs.
| IEnumerator< Field > MyCaffe.layers.tft.FieldCollection.GetEnumerator | ( | ) |
Return the enumeration of the fields.
Definition at line 756 of file DataSchema.cs.
|
static |
Loads a collection of fields from an XML node.
| node | Specifies the XML node containing the fields. |
Definition at line 709 of file DataSchema.cs.
|
get |
Returns the number of fields in the collection.
Definition at line 802 of file DataSchema.cs.
|
get |
Returns the NPY file for which the fields are associated with.
Definition at line 810 of file DataSchema.cs.
|
get |
Get a field at a given index.
| nIdx | Specifies the index. |
Definition at line 775 of file DataSchema.cs.
|
get |
Get a field by name.
| strName | Specifies the field name of the field to get. |
Definition at line 785 of file DataSchema.cs.