Construct a pad layer. * * @param[in] padding The padding for each spatial dimension of the input tensor. The pair padding[i] * specifies the front and the end padding in the i-th dimension. * @param[in] pad_value Padding value to use. Defaults to 0. */
| 941 | * @param[in] pad_value Padding value to use. Defaults to 0. |
| 942 | */ |
| 943 | PadLayer(PaddingList padding, PixelValue pad_value = PixelValue()) : _padding(padding), _pad_value(pad_value) |
| 944 | { |
| 945 | } |
| 946 | |
| 947 | NodeID create_layer(IStream &s) override |
| 948 | { |