person-re-ranking/caffe/docs/tutorial/layers/innerproduct.md

2.1 KiB

title
Inner Product / Fully Connected Layer

Inner Product / Fully Connected Layer

The InnerProduct layer (also usually referred to as the fully connected layer) treats the input as a simple vector and produces an output in the form of a single vector (with the blob's height and width set to 1).

Parameters

  • Parameters (InnerProductParameter inner_product_param)
    • Required
      • num_output (c_o): the number of filters
    • Strongly recommended
      • weight_filler [default type: 'constant' value: 0]
    • Optional
      • bias_filler [default type: 'constant' value: 0]
      • bias_term [default true]: specifies whether to learn and apply a set of additive biases to the filter outputs
  • From ./src/caffe/proto/caffe.proto:

{% highlight Protobuf %} {% include proto/InnerProductParameter.txt %} {% endhighlight %}