MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The WeightInfo class describes the weights of a given weight set including the blob names and sizes of the weights. More...
Public Member Functions | |
WeightInfo () | |
The constructor. More... | |
void | AddBlob (string strName, List< int > rgShape, BLOB_TYPE type) |
Add a blob name and shape to the WeightInfo. More... | |
void | AddBlob (Blob< T > b) |
Add a blob name and shape to the WeightInfo. More... | |
Properties | |
Dictionary< string, Tuple< List< int >, BLOB_TYPE > > | Blobs [get] |
Returns the list of blob information describing the weights. Each entry within the Dictionary returned contains the Blob's name and the Blob's dimensions (e.g. {num, channels, height, width}) as a List of integers. More... | |
The WeightInfo class describes the weights of a given weight set including the blob names and sizes of the weights.
T | Specifies the base type float or double. Using float is recommended to conserve GPU memory. |
Definition at line 14 of file WeightInfo.cs.
MyCaffe.common.WeightInfo< T >.WeightInfo | ( | ) |
The constructor.
Definition at line 22 of file WeightInfo.cs.
void MyCaffe.common.WeightInfo< T >.AddBlob | ( | Blob< T > | b | ) |
Add a blob name and shape to the WeightInfo.
b | Specifies the Blob who's name and shape are to be added. |
Definition at line 42 of file WeightInfo.cs.
void MyCaffe.common.WeightInfo< T >.AddBlob | ( | string | strName, |
List< int > | rgShape, | ||
BLOB_TYPE | type | ||
) |
Add a blob name and shape to the WeightInfo.
strName | Specifies the Blob name. |
rgShape | Specifies the Blob shape. |
type | Specifies the Blob type. |
Definition at line 32 of file WeightInfo.cs.
|
get |
Returns the list of blob information describing the weights. Each entry within the Dictionary returned contains the Blob's name and the Blob's dimensions (e.g. {num, channels, height, width}) as a List of integers.
Definition at line 52 of file WeightInfo.cs.