FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[docs] tutorial/layers: fix inner product sample · flyflyfly001/CaffeOnACL@b37f4f9 · GitHub

Repository navigation

Commit b37f4f9

Browse files
committed
[docs] tutorial/layers: fix inner product sample
1 parent cbc50e1 commit b37f4f9

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

‎docs/tutorial/layers.md‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -387,27 +387,27 @@ The HDF5 output layer performs the opposite function of the other layers in this
387387
- `n * c_o * 1 * 1`
388388
* Sample
389389

390-
layers {
391-
name: "fc8"
392-
type: INNER_PRODUCT
393-
blobs_lr: 1 # learning rate multiplier for the filters
394-
blobs_lr: 2 # learning rate multiplier for the biases
395-
weight_decay: 1 # weight decay multiplier for the filters
396-
weight_decay: 0 # weight decay multiplier for the biases
397-
inner_product_param {
398-
num_output: 1000
399-
weight_filler {
400-
type: "gaussian"
401-
std: 0.01
402-
}
403-
bias_filler {
404-
type: "constant"
405-
value: 0
390+
layers {
391+
name: "fc8"
392+
type: INNER_PRODUCT
393+
blobs_lr: 1 # learning rate multiplier for the filters
394+
blobs_lr: 2 # learning rate multiplier for the biases
395+
weight_decay: 1 # weight decay multiplier for the filters
396+
weight_decay: 0 # weight decay multiplier for the biases
397+
inner_product_param {
398+
num_output: 1000
399+
weight_filler {
400+
type: "gaussian"
401+
std: 0.01
402+
}
403+
bias_filler {
404+
type: "constant"
405+
value: 0
406+
}
406407
}
408+
bottom: "fc7"
409+
top: "fc8"
407410
}
408-
bottom: "fc7"
409-
top: "fc8"
410-
}
411411

412412
The `INNER_PRODUCT` 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).
413413

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL