Skip to content

Commit

Permalink
Merge pull request BVLC#1999 from boechat107/patch-2
Browse files Browse the repository at this point in the history
Small fix (visualization) on SLICE layer's documentation
  • Loading branch information
longjon committed Feb 27, 2015
2 parents a677076 + 25cdd35 commit 4fba3da
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions docs/tutorial/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -453,20 +453,20 @@ The `SLICE` layer is a utility layer that slices an input layer to multiple outp

* Sample

layers {
name: "slicer_label"
type: SLICE
bottom: "label"
## Example of label with a shape N x 3 x 1 x 1
top: "label1"
top: "label2"
top: "label3"
slice_param {
slice_dim: 1
slice_point: 1
slice_point: 2
}
}
layers {
name: "slicer_label"
type: SLICE
bottom: "label"
## Example of label with a shape N x 3 x 1 x 1
top: "label1"
top: "label2"
top: "label3"
slice_param {
slice_dim: 1
slice_point: 1
slice_point: 2
}
}

`slice_dim` indicates the target dimension and can assume only two values: 0 for num or 1 for channel; `slice_point` indicates indexes in the selected dimension (the number of indexes must be equal to the number of top blobs minus one).

Expand Down

0 comments on commit 4fba3da

Please sign in to comment.