Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Community Manager
300 Views

How can i get the output of a layer by the SDK C++ API?

I want to use NC API instead my caffe code,but this content doesn't appear in the documents. This is my code which is the part of getting a layer output: caffe::Net<NetF>* _net; * * * boost::shared_ptr<caffe::Blob<NetF> > features = _net->blob_by_name("fc5");
0 Kudos
1 Reply
Highlighted
Community Manager
13 Views

@InSilence Currently there isn't any support for outputting the layer of a node via the API. A possible alternative is to generate a graph file with your desired output layer by using the -on option. You can then use the graph file with the API.

0 Kudos