![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The BlobProto contains the descripion of a blob. More...
Public Member Functions | |
| BlobProto () | |
| Constructor for the BlobProto. More... | |
| BlobProto (List< int > rgShape) | |
| Constructor for the BlobProto More... | |
| void | Save (BinaryWriter bw) |
| Saves the BlobProto to a binary writer. More... | |
| object | Load (BinaryReader br, bool bNewInstance) |
| Loads a BlobProto from a binary reader. More... | |
| object | Clone () |
| Copies the BlobProto and returns a new instance. More... | |
| override RawProto | ToProto (string strName) |
| Converts the BlobProto to a RawProto. More... | |
| int | CompareTo (object obj) |
| Compares the BlobProto to another BlobProto. 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 BlobProto | FromProto (RawProto rp) |
| Parses a new BlobProto from a RawProto. More... | |
| static BlobProto | Load (BinaryReader br) |
| Load a new BlobProto from a binary reader. 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 | |
| BlobShape | shape [getset] |
| Specifies the shape of the Blob. More... | |
| int? | num [getset] |
| Specifies the number of inputs (such as images) in the Blob. More... | |
| int? | channels [getset] |
| Specifies the number of images per input. More... | |
| int? | height [getset] |
| Specifies the height of each input. More... | |
| int? | width [getset] |
| Specifies the width of each input. More... | |
| List< double > | double_data [getset] |
| Get/set the data as a List of double. More... | |
| List< double > | double_diff [getset] |
| Get/set the diff as a List of double. More... | |
| List< float > | data [getset] |
| Get/set the data as a List of float. More... | |
| List< float > | diff [getset] |
| Get/set the diff as a List of float. More... | |
The BlobProto contains the descripion of a blob.
Definition at line 14 of file BlobProto.cs.
| MyCaffe.param.BlobProto.BlobProto | ( | ) |
Constructor for the BlobProto.
Definition at line 31 of file BlobProto.cs.
| MyCaffe.param.BlobProto.BlobProto | ( | List< int > | rgShape | ) |
Constructor for the BlobProto
| rgShape | Specifies the shape of the blob. |
Definition at line 39 of file BlobProto.cs.
| object MyCaffe.param.BlobProto.Clone | ( | ) |
Copies the BlobProto and returns a new instance.
Definition at line 198 of file BlobProto.cs.
| int MyCaffe.param.BlobProto.CompareTo | ( | object | obj | ) |
Parses a new BlobProto from a RawProto.
| rp | Specifies the RawProto to parse. |
Definition at line 243 of file BlobProto.cs.
|
static |
Load a new BlobProto from a binary reader.
| br | Specifies the binary reader. |
Definition at line 286 of file BlobProto.cs.
| object MyCaffe.param.BlobProto.Load | ( | BinaryReader | br, |
| bool | bNewInstance | ||
| ) |
Loads a BlobProto from a binary reader.
| br | Specifies the binary reader. |
| bNewInstance | When true a new instance is created, otherwise the data is read into the existing BlobProto. |
Implements MyCaffe.basecode.IBinaryPersist.
Definition at line 84 of file BlobProto.cs.
| void MyCaffe.param.BlobProto.Save | ( | BinaryWriter | bw | ) |
Saves the BlobProto to a binary writer.
| bw | Specifies the binary writer. |
Implements MyCaffe.basecode.IBinaryPersist.
Definition at line 48 of file BlobProto.cs.
|
virtual |
Converts the BlobProto to a RawProto.
| strName | Specifies a name for the RawProto. |
Implements MyCaffe.basecode.BaseParameter.
Definition at line 219 of file BlobProto.cs.
|
getset |
Specifies the number of images per input.
Definition at line 134 of file BlobProto.cs.
|
getset |
Get/set the data as a List of float.
Definition at line 179 of file BlobProto.cs.
|
getset |
Get/set the diff as a List of float.
Definition at line 188 of file BlobProto.cs.
|
getset |
Get/set the data as a List of double.
Definition at line 161 of file BlobProto.cs.
|
getset |
Get/set the diff as a List of double.
Definition at line 170 of file BlobProto.cs.
|
getset |
Specifies the height of each input.
Definition at line 143 of file BlobProto.cs.
|
getset |
Specifies the number of inputs (such as images) in the Blob.
Definition at line 125 of file BlobProto.cs.
|
getset |
Specifies the shape of the Blob.
Definition at line 116 of file BlobProto.cs.
|
getset |
Specifies the width of each input.
Definition at line 152 of file BlobProto.cs.