zhreshold commented on a change in pull request #8894: Mobilenet URL: https://github.com/apache/incubator-mxnet/pull/8894#discussion_r157036473
########## File path: example/image-classification/symbols/mobilenet.py ########## @@ -14,48 +14,129 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - +# -*- coding:utf-8 -*- import mxnet as mx -def Conv(data, num_filter=1, kernel=(1, 1), stride=(1, 1), pad=(0, 0), num_group=1, name=None, suffix=''): - conv = mx.sym.Convolution(data=data, num_filter=num_filter, kernel=kernel, num_group=num_group, stride=stride, pad=pad, no_bias=True, name='%s%s_conv2d' %(name, suffix)) - bn = mx.sym.BatchNorm(data=conv, name='%s%s_batchnorm' %(name, suffix), fix_gamma=True) - act = mx.sym.Activation(data=bn, act_type='relu', name='%s%s_relu' %(name, suffix)) +__author__ = 'qingzhouzhen' Review comment: Please use standard __authors__, __date__, and place before import per PEP8 standard. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services