wangwei created SINGA-297:
-----------------------------

             Summary: Add Padding layer
                 Key: SINGA-297
                 URL: https://issues.apache.org/jira/browse/SINGA-297
             Project: Singa
          Issue Type: New Feature
            Reporter: wangwei


Padding layer is sometimes used before convolution and pooling layer to add 
extra values to the input feature map, e.g., 0s for zero padding.
The python api is 
{code}

Padding(name, h, w, v):
''''
Args:
       h is a scalar or a tuple (beginning and ending for the padding lengths 
of the height
       w is a scalar or a tuple (beginning and ending) for the padding lengths 
of the width
       v is the value to fill
'''
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to