summaryrefslogtreecommitdiff
path: root/docs/tutorial/layers.md
diff options
context:
space:
mode:
authorAndre Ambrosio Boechat <boechat107@gmail.com>2015-02-25 14:56:18 -0300
committerAndre Ambrosio Boechat <boechat107@gmail.com>2015-02-25 14:56:18 -0300
commit25cdd35c9ab1447f06040720243526fc8d0343c5 (patch)
tree201f57f6845f6a45a906fa1d8456f7fa05611f28 /docs/tutorial/layers.md
parentb9aa166526cdfec7dcb83fd6fce342cd8c6c3153 (diff)
downloadcaffeonacl-25cdd35c9ab1447f06040720243526fc8d0343c5.tar.gz
caffeonacl-25cdd35c9ab1447f06040720243526fc8d0343c5.tar.bz2
caffeonacl-25cdd35c9ab1447f06040720243526fc8d0343c5.zip
Small fix (visualization) on SLICE layer's documentation
The sample was missing some additional spaces to be correctly rendered on the HTML. The mistake was mine.
Diffstat (limited to 'docs/tutorial/layers.md')
-rw-r--r--docs/tutorial/layers.md28
1 files changed, 14 insertions, 14 deletions
diff --git a/docs/tutorial/layers.md b/docs/tutorial/layers.md
index 34bb4805..839939f5 100644
--- a/docs/tutorial/layers.md
+++ b/docs/tutorial/layers.md
@@ -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).