摘要: 在caffe中,全连接层叫做"inner_product_layer",区别于tensorflow中的fullyconnected_layer。 1、prototxt中的定义 阅读全文
posted @ 2019-06-12 17:12 qiuqiu1577469804 阅读(1964) 评论(0) 推荐(0) 编辑
摘要: 1、最简单的做法 思想:循环逐个赋值 #include <iostream> #include <vector> int main(){ std::vector<int> input({1,2,3,4,5}); int n = input.size(); int arr[n]; for(int i= 阅读全文
posted @ 2019-06-12 14:30 qiuqiu1577469804 阅读(21595) 评论(2) 推荐(0) 编辑