caffe-innerproduct layer

来源:互联网 发布:免费的cms 编辑:程序博客网 时间:2024/06/15 20:58

caffe-innerproduct


usage:

layer {name: "inn"type: "InnerProduct"bottom: "data"top: "topinn"param {name: "w_hh"}inner_product_param {num_output: 10bias_term: falseweight_filler {type: "uniform"min: -0.8max: 0.8}axis: 2 #default 1   # The first axis to be lumped into a single inner product computation;                                     # all preceding axes are retained in the output.}}


e.g.

data : 5 * 3 * 4 * 4

output: 10  axis: 2

=>

param: 10 * 16

datainn: 5 * 3 * 10

0 0
原创粉丝点击