#include <Context.h>
Definition at line 38 of file Context.h.
◆ WeightContext()
caffeimport::WeightContext::WeightContext |
( |
::caffe::NetParameter * |
caffemodel | ) |
|
|
inline |
Definition at line 41 of file Context.h.
41 : _caffemodel(caffemodel)
42 {
43 for (uint32_t n = 0; n < _caffemodel->layer_size(); ++n)
44 {
45 auto layer = _caffemodel->mutable_layer(n);
46
47 if (layer->has_name())
48 {
49 _data[layer->name()] = layer;
50 }
51 }
52 }
◆ blob_count()
int caffeimport::WeightContext::blob_count |
( |
const LayerName & |
name | ) |
|
|
inline |
◆ blob_get()
::caffe::BlobProto * caffeimport::WeightContext::blob_get |
( |
const LayerName & |
name, |
|
|
uint32_t |
n |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: