[ https://issues.apache.org/jira/browse/SYSTEMML-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937249#comment-15937249 ]
Mike Dusenberry commented on SYSTEMML-1432: ------------------------------------------- Submitted as part of [PR 437 | https://github.com/apache/incubator-systemml/pull/437]. > Extend `util::pad_image` with a `pad_value` parameter > ----------------------------------------------------- > > Key: SYSTEMML-1432 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1432 > Project: SystemML > Issue Type: Sub-task > Reporter: Mike Dusenberry > Assignee: Mike Dusenberry > Priority: Minor > > 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. -- This message was sent by Atlassian JIRA (v6.3.15#6346)