![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
Specifies the NetState which includes the phase, level and stage for which a given Net is to run under. More...
Public Member Functions | |
| NetState () | |
| The NetState constructor. More... | |
| void | Save (BinaryWriter bw) |
| Saves the NetState to a binary writer. More... | |
| void | MergeFrom (NetState ns) |
| Merges another NetState with this instance. More... | |
| NetState | Clone () |
| Creates a new copy of this NetState instance. More... | |
| int | CompareTo (object obj) |
| Compares this NetState to another one. More... | |
| override RawProto | ToProto (string strName) |
| Converts this NetState to a RawProto. More... | |
Public Member Functions inherited from MyCaffe.basecode.BaseParameter | |
| BaseParameter () | |
| Constructor for the parameter. More... | |
| virtual bool | Compare (BaseParameter p) |
| Compare this parameter to another parameter. More... | |
Static Public Member Functions | |
| static NetState | Load (BinaryReader br) |
| Loads a new NetState instance from a binary reader. More... | |
| static NetState | FromProto (RawProto rp) |
| Parses a RawProto representing a NetState into a NetState instance. More... | |
Static Public Member Functions inherited from MyCaffe.basecode.BaseParameter | |
| static double | ParseDouble (string strVal) |
| Parse double values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
| static bool | TryParse (string strVal, out double df) |
| Parse double values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
| static float | ParseFloat (string strVal) |
| Parse float values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
| static bool | TryParse (string strVal, out float f) |
| Parse doufloatble values using the US culture if the decimal separator = '.', then using the native culture, and if then lastly trying the US culture to handle prototypes containing '.' as the separator, yet parsed in a culture that does not use '.' as a decimal. More... | |
Properties | |
| Phase | phase [getset] |
| Specifies the Phase of the NetState. More... | |
| int | level [getset] |
| Specifies the level of the NetState. More... | |
| List< string > | stage [getset] |
| Specifies the stages of the NetState. More... | |
Specifies the NetState which includes the phase, level and stage for which a given Net is to run under.
Definition at line 18 of file NetState.cs.
| MyCaffe.param.NetState.NetState | ( | ) |
The NetState constructor.
Definition at line 27 of file NetState.cs.
| NetState MyCaffe.param.NetState.Clone | ( | ) |
Creates a new copy of this NetState instance.
Definition at line 119 of file NetState.cs.
| int MyCaffe.param.NetState.CompareTo | ( | object | obj | ) |
Compares this NetState to another one.
| obj | Specifies the other NetState to compare with this one. |
Definition at line 144 of file NetState.cs.
|
static |
Loads a new NetState instance from a binary reader.
| br | Specifies the binary reader to use. |
Definition at line 47 of file NetState.cs.
| void MyCaffe.param.NetState.MergeFrom | ( | NetState | ns | ) |
Merges another NetState with this instance.
| ns |
Definition at line 98 of file NetState.cs.
| void MyCaffe.param.NetState.Save | ( | BinaryWriter | bw | ) |
Saves the NetState to a binary writer.
| bw | Specifies the binary writer to use. |
Definition at line 35 of file NetState.cs.
|
virtual |
Converts this NetState to a RawProto.
| strName | Specifies a name given to the RawProto. |
Implements MyCaffe.basecode.BaseParameter.
Definition at line 162 of file NetState.cs.
|
getset |
Specifies the level of the NetState.
Definition at line 72 of file NetState.cs.
|
getset |
Specifies the Phase of the NetState.
Definition at line 62 of file NetState.cs.
|
getset |
Specifies the stages of the NetState.
Definition at line 82 of file NetState.cs.