![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The ParameterDescriptorCollection class contains a list of ParameterDescriptor's. More...
Public Member Functions | |
| ParameterDescriptorCollection () | |
| The ParameterDescriptorCollection constructor. More... | |
| ParameterDescriptorCollection (ParameterDescriptorCollection rg) | |
| The ParameterDescriptorCollection constructor. More... | |
| void | Add (ParameterDescriptor p) |
| Adds a ParameterDescriptor to the collection. More... | |
| ParameterDescriptor | Find (string strName) |
| Searches for a parameter by name in the collection. More... | |
| string | Find (string strName, string strDefault) |
| Searches for a parameter by name and returns its string value if found, or a default string value if not. More... | |
| double | Find (string strName, double dfDefault) |
| Searches for a parameter by name and returns its value as a double if found, or a default double value if not. More... | |
| bool | Find (string strName, bool bDefault) |
| Searches for a parameter by name and returns its value as a bool if found, or a default bool value if not. More... | |
| IEnumerator< ParameterDescriptor > | GetEnumerator () |
| Returns the enumerator of the collection. More... | |
Properties | |
| int | Count [get] |
| Returns the count of items in the collection. More... | |
| ParameterDescriptor | this[int nIdx] [get] |
| Returns the item at a given index within the collection. More... | |
The ParameterDescriptorCollection class contains a list of ParameterDescriptor's.
Definition at line 14 of file ParameterDescriptorCollection.cs.
| MyCaffe.basecode.descriptors.ParameterDescriptorCollection.ParameterDescriptorCollection | ( | ) |
The ParameterDescriptorCollection constructor.
Definition at line 22 of file ParameterDescriptorCollection.cs.
| MyCaffe.basecode.descriptors.ParameterDescriptorCollection.ParameterDescriptorCollection | ( | ParameterDescriptorCollection | rg | ) |
The ParameterDescriptorCollection constructor.
| rg | Specifies another collection used to create this one. |
Definition at line 30 of file ParameterDescriptorCollection.cs.
| void MyCaffe.basecode.descriptors.ParameterDescriptorCollection.Add | ( | ParameterDescriptor | p | ) |
Adds a ParameterDescriptor to the collection.
| p | Specifies the item to add. |
Definition at line 61 of file ParameterDescriptorCollection.cs.
| ParameterDescriptor MyCaffe.basecode.descriptors.ParameterDescriptorCollection.Find | ( | string | strName | ) |
Searches for a parameter by name in the collection.
| strName | Specifies the name to look for. |
Definition at line 72 of file ParameterDescriptorCollection.cs.
| bool MyCaffe.basecode.descriptors.ParameterDescriptorCollection.Find | ( | string | strName, |
| bool | bDefault | ||
| ) |
Searches for a parameter by name and returns its value as a bool if found, or a default bool value if not.
| strName | Specifies the name to look for. |
| bDefault | Specifies the default value to return if not found. |
Definition at line 117 of file ParameterDescriptorCollection.cs.
| double MyCaffe.basecode.descriptors.ParameterDescriptorCollection.Find | ( | string | strName, |
| double | dfDefault | ||
| ) |
Searches for a parameter by name and returns its value as a double if found, or a default double value if not.
| strName | Specifies the name to look for. |
| dfDefault | Specifies the default value to return if not found. |
Definition at line 102 of file ParameterDescriptorCollection.cs.
| string MyCaffe.basecode.descriptors.ParameterDescriptorCollection.Find | ( | string | strName, |
| string | strDefault | ||
| ) |
Searches for a parameter by name and returns its string value if found, or a default string value if not.
| strName | Specifies the name to look for. |
| strDefault | Specifies the default value to return if not found. |
Definition at line 87 of file ParameterDescriptorCollection.cs.
| IEnumerator< ParameterDescriptor > MyCaffe.basecode.descriptors.ParameterDescriptorCollection.GetEnumerator | ( | ) |
Returns the enumerator of the collection.
Definition at line 130 of file ParameterDescriptorCollection.cs.
|
get |
Returns the count of items in the collection.
Definition at line 42 of file ParameterDescriptorCollection.cs.
|
get |
Returns the item at a given index within the collection.
| nIdx | Specifies the index. |
Definition at line 52 of file ParameterDescriptorCollection.cs.