You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/07/22 17:45:56 UTC
[GitHub] [incubator-mxnet] wkcn commented on pull request #18714: [v1.6.x][Bug Fixed] Fix batch norm when grad_req is `add` (#18518)
wkcn commented on pull request #18714:
URL: https://github.com/apache/incubator-mxnet/pull/18714#issuecomment-662593292
Hi @ChaiBapchya ,
I found a compilation error in http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/mxnet-validation%2Funix-cpu/detail/PR-18714/3/pipeline
```
[2020-07-18T22:39:10.415Z] src/operator/quantization/mkldnn/../../nn/mkldnn/mkldnn_batch_norm-inl.h: In function 'void mxnet::op::MKLDNNBatchNormBackward(const mxnet::OpContext&, const mxnet::op::BatchNormParam&, const std::vector<mxnet::NDArray>&, const std::vector<mxnet::NDArray>&, const std::vector<mxnet::NDArray>&, const std::vector<mxnet::OpReqType>&, const std::vector<mxnet::NDArray>&, const std::vector<mxnet::NDArray>&)':
[2020-07-18T22:39:10.415Z] src/operator/quantization/mkldnn/../../nn/mkldnn/mkldnn_batch_norm-inl.h:383:36: error: 'copy_size' was not declared in this scope
[2020-07-18T22:39:10.415Z] memcpy(w_grad_1, gw_buf, copy_size);
[2020-07-18T22:39:10.415Z] ^
[2020-07-18T22:39:10.415Z] src/operator/quantization/mkldnn/../../nn/mkldnn/mkldnn_batch_norm-inl.h:399:46: error: 'copy_size' was not declared in this scope
[2020-07-18T22:39:10.415Z] memcpy(w_grad_2, &gw_buf[channels_], copy_size);
[2020-07-18T22:39:10.415Z] ^
[2020-07-18T22:39:10.415Z] Makefile:555: recipe for target 'build/src/operator/quantization/mkldnn/mkldnn_quantized_batch_norm.o' failed
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org