zhanghang1989 opened a new issue #9631: Get Warning When ``#include 
<mxnet/operator.h>``
URL: https://github.com/apache/incubator-mxnet/issues/9631
 
 
   When ``#include <mxnet/operator.h>``, get the following error:
   
   ```bash
   
/home/ubuntu/git/incubator-mxnet/mshadow/mshadow/././expr_engine-inl.h:438:22: 
warning: inline function ?static void mshadow::expr::ExpComplexEngine<SV, RV, 
E, DType>::Eval(RV*, const E&) [with SV = mshadow::sv::plusto; RV = 
mshadow::Tensor<mshadow::cpu, 1, float>; E = 
mshadow::expr::BinaryMapExp<mshadow::op::div, 
mshadow::expr::BinaryMapExp<mshadow::op::mul, 
mshadow::expr::ReduceTo1DExp<mshadow::Tensor<mshadow::cpu, 4, float>, float, 
mshadow::red::sum, 3>, mshadow::Tensor<mshadow::cpu, 1, float>, float, 7>, 
mshadow::Tensor<mshadow::cpu, 1, float>, float, 7>; DType = float]? used but 
never defined
      inline static void Eval(RV *dst, const E &exp);
                         ^
   
/home/ubuntu/git/incubator-mxnet/mshadow/mshadow/././expr_engine-inl.h:438:22: 
warning: inline function ?static void mshadow::expr::ExpComplexEngine<SV, RV, 
E, DType>::Eval(RV*, const E&) [with SV = mshadow::sv::saveto; RV = 
mshadow::Tensor<mshadow::cpu, 1, float>; E = 
mshadow::expr::BinaryMapExp<mshadow::op::div, 
mshadow::expr::BinaryMapExp<mshadow::op::mul, 
mshadow::expr::ReduceTo1DExp<mshadow::Tensor<mshadow::cpu, 4, float>, float, 
mshadow::red::sum, 3>, mshadow::Tensor<mshadow::cpu, 1, float>, float, 7>, 
mshadow::Tensor<mshadow::cpu, 1, float>, float, 7>; DType = float]? used but 
never defined
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to