MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The Lookup class is used to manage a single lookup table. More...
Public Member Functions | |
Lookup () | |
The constructor. More... | |
void | Clear () |
Clear the entries from the lookup table. More... | |
void | Add (Lookup l) |
Add a lookup table to this lookup table. More... | |
void | Add (LookupItem item) |
Add a new item to the lookup table. More... | |
int | FindID (string strName) |
Find a given lookup ID by name. More... | |
string | FindName (int nID) |
Find a given lookup name by ID. More... | |
Static Public Member Functions | |
static Lookup | Load (XmlNode node) |
Load a lookup table from an XML node. More... | |
Properties | |
int | Count [get] |
Returns the the number of lookup items. More... | |
string | Name [get] |
Specifies the lookup item name. More... | |
LookupItem | this[int nIdx] [get] |
Returns the lookup item at a given index. More... | |
The Lookup class is used to manage a single lookup table.
Definition at line 427 of file DataSchema.cs.
MyCaffe.layers.tft.Lookup.Lookup | ( | ) |
The constructor.
Definition at line 436 of file DataSchema.cs.
void MyCaffe.layers.tft.Lookup.Add | ( | Lookup | l | ) |
Add a lookup table to this lookup table.
l | Specifies the lookup table to add. |
Definition at line 481 of file DataSchema.cs.
void MyCaffe.layers.tft.Lookup.Add | ( | LookupItem | item | ) |
Add a new item to the lookup table.
item | Specifies the lookup item to add. |
Definition at line 512 of file DataSchema.cs.
void MyCaffe.layers.tft.Lookup.Clear | ( | ) |
Clear the entries from the lookup table.
Definition at line 471 of file DataSchema.cs.
int MyCaffe.layers.tft.Lookup.FindID | ( | string | strName | ) |
Find a given lookup ID by name.
strName | Specifies the lookup name. |
Definition at line 531 of file DataSchema.cs.
string MyCaffe.layers.tft.Lookup.FindName | ( | int | nID | ) |
Find a given lookup name by ID.
nID | Specifies the lookup ID. |
Definition at line 544 of file DataSchema.cs.
|
static |
Load a lookup table from an XML node.
node | Specifies the XML node containing the Lookup/ |
Definition at line 445 of file DataSchema.cs.
|
get |
Returns the the number of lookup items.
Definition at line 463 of file DataSchema.cs.
|
get |
Specifies the lookup item name.
Definition at line 521 of file DataSchema.cs.
|
get |
Returns the lookup item at a given index.
nIdx | Specifies the index to retrieve. |
Definition at line 557 of file DataSchema.cs.