Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently, our util::pad_image function performs zero-padding, which is correct for operations such as convolution. In some cases, such as max pooling, it is necessary to pad with a different value such as negative infinity. Therefore, we should extend our util::pad_image function to accept a pad_value parameter with a noted typical value of 0.