有可能得到每一个
1)层的类型(例如:卷积,内部产品,数据等)
2)c ++中图层的顶层标签(例如:ip1,ip2,conv1,conv2)?
我查了一下提供的例子,但我不能……
该 Layer class有一个公共成员函数 virtual const char *type() 返回图层类型。于是
Layer
virtual const char *type()
cout << "Layer type: " << net_->layers()[layer_index]->type();
应该做的伎俩。