MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The lookup item manages a single lookup item used to map a name to an ID. More...
Public Member Functions | |
LookupItem (string strName, int nIndex) | |
The constructor. More... | |
LookupItem (string strName, int nIndex, int nValidRangeStart, int nValidRangeEnd) | |
The constructor. More... | |
bool | Compare (LookupItem item) |
Compare two LookupItems and return whether or not they are the same. More... | |
override string | ToString () |
Returns a string representation of the lookup item. More... | |
Static Public Member Functions | |
static LookupItem | Load (XmlNode node) |
Load a LookupItem from an XML node. More... | |
Properties | |
string | Name [get] |
Specifies the lookup name. More... | |
int | ID [get] |
Specifies the lookup ID. More... | |
int | ValidRangeStartIndex [get] |
Returns the valid data range start index or -1 to ignore. More... | |
int | ValidRangeEndIndex [get] |
Returns the valid data range end index or -1 to ignore. More... | |
int? | ValidRangeCount [get] |
Returns the number of valid data items in the range or -1 if the range is not set. More... | |
The lookup item manages a single lookup item used to map a name to an ID.
Definition at line 566 of file DataSchema.cs.
MyCaffe.layers.tft.LookupItem.LookupItem | ( | string | strName, |
int | nIndex | ||
) |
The constructor.
strName | Specifies the lookup name. |
nIndex | Specifies the lookup ID. |
Definition at line 578 of file DataSchema.cs.
MyCaffe.layers.tft.LookupItem.LookupItem | ( | string | strName, |
int | nIndex, | ||
int | nValidRangeStart, | ||
int | nValidRangeEnd | ||
) |
The constructor.
strName | Specifies the lookup name. |
nIndex | Specifies the lookup ID. |
nValidRangeStart | Specifies the valid data range start index (or -1 to ignore). |
nValidRangeEnd | Specifies the valid data range end index (or -1 to ignore). |
Definition at line 591 of file DataSchema.cs.
bool MyCaffe.layers.tft.LookupItem.Compare | ( | LookupItem | item | ) |
Compare two LookupItems and return whether or not they are the same.
item | Specifies the other LookupItem to compare. |
Definition at line 625 of file DataSchema.cs.
|
static |
Load a LookupItem from an XML node.
node | Specifies the XML node containing the lookup item. |
Definition at line 604 of file DataSchema.cs.
override string MyCaffe.layers.tft.LookupItem.ToString | ( | ) |
Returns a string representation of the lookup item.
Definition at line 683 of file DataSchema.cs.
|
get |
Specifies the lookup ID.
Definition at line 650 of file DataSchema.cs.
|
get |
Specifies the lookup name.
Definition at line 642 of file DataSchema.cs.
|
get |
Returns the number of valid data items in the range or -1 if the range is not set.
Definition at line 674 of file DataSchema.cs.
|
get |
Returns the valid data range end index or -1 to ignore.
Definition at line 666 of file DataSchema.cs.
|
get |
Returns the valid data range start index or -1 to ignore.
Definition at line 658 of file DataSchema.cs.