2.2.1 : Padding for each row
Columns can also contain Tensor. First parameter of a Tensor declaration is the type (one of listed above) then names of their dimensions. Defined as usually in math from main dimention to contiguous dimentions.Tensor can have a Padding noteExtra elements generally use to simplify computing kernels. :
Example :
1 2 3 4 5 |
///Table of values TableVertex{ ///Image with padding Tensor(float, nbSlice+1, nbPixel) image; } |
In this example Image size is (nbSlice + 1)*nbPixel and padded elements are stored usually at the end of a stride noteSize of a dimention with padding..