| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7867ead commit 5d15ed7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -451,6 +451,26 @@ The `CONCAT` layer is a utility layer that concatenates its multiple input blobs | |||
| 451 | 451 | ||
| 452 | 452 | The `SLICE` layer is a utility layer that slices an input layer to multiple output layers along a given dimension (currently num or channel only) with given slice indices. | |
| 453 | 453 | ||
| 454 | + * Sample | ||
| 455 | + | ||
| 456 | + layers { | ||
| 457 | + name: "slicer_label" | ||
| 458 | + type: SLICE | ||
| 459 | + bottom: "label" | ||
| 460 | + ## Example of label with a shape N x 3 x 1 x 1 | ||
| 461 | + top: "label1" | ||
| 462 | + top: "label2" | ||
| 463 | + top: "label3" | ||
| 464 | + slice_param { | ||
| 465 | + slice_dim: 1 | ||
| 466 | + slice_point: 1 | ||
| 467 | + slice_point: 2 | ||
| 468 | + } | ||
| 469 | + } | ||
| 470 | + | ||
| 471 | + `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). | ||
| 472 | + | ||
| 473 | + | ||
| 454 | 474 | #### Elementwise Operations | |
| 455 | 475 | ||
| 456 | 476 | `ELTWISE` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments