You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/operators/lod_reset_op.cc:15:
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/operators/lod_reset_op.h:38:9: warning: comparison of integers of different signs:
'unsigned long' and 'int64_t' (aka 'long long') [-Wsign-compare]
PADDLE_ENFORCE_EQ(last_level.back(), in->dims()[0],
^ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/platform/enforce.h:227:43: note: expanded from macro 'PADDLE_ENFORCE_EQ'
__PADDLE_BINARY_COMPARE(__VAL0, __VAL1, ==, !=, __VA_ARGS__)
~~~~~~ ~~~~~~ ^
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/platform/enforce.h:248:28: note: expanded from macro '__PADDLE_BINARY_COMPARE'
if (UNLIKELY(!((__VAL0)__CMP(__VAL1)))) { \
~~~~~~ ^ ~~~~~~
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/platform/enforce.h:108:64: note: expanded from macro 'UNLIKELY'
#define UNLIKELY(condition) __builtin_expect(static_cast<bool>(condition), 0)
^~~~~~~~~
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/framework/op_registry.h:86:64: note: in instantiation of member function
'paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, double>::Compute' requested here
OperatorWithKernel::AllOpKernels()[op_type][key].reset(new KERNEL_TYPE);
^
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/framework/op_registry.h:91:5: note: in instantiation of member function
'paddle::framework::OpKernelRegistrarFunctor<paddle::platform::CPUPlace, false, 1, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace,
float>, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, double>, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, int>,
paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, long long> >::operator()' requested here
func(op_type, library_type);
^
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/framework/op_registry.h:106:5: note: in instantiation of member function
'paddle::framework::OpKernelRegistrarFunctor<paddle::platform::CPUPlace, false, 0, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace,
float>, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, double>, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, int>,
paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, long long> >::operator()' requested here
func(op_type, library_type);
^
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/operators/lod_reset_op.cc:160:1: note: in instantiation of member function
'paddle::framework::OpKernelRegistrar<paddle::platform::CPUPlace, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, float>,
paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, double>, paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, int>,
paddle::operators::LoDResetKernel<paddle::platform::CPUPlace, long long> >::OpKernelRegistrar' requested here
REGISTER_OP_CPU_KERNEL(
^
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/framework/op_registry.h:196:3: note: expanded from macro 'REGISTER_OP_CPU_KERNEL'
REGISTER_OP_KERNEL(op_type, CPU, ::paddle::platform::CPUPlace, __VA_ARGS__)
^
/Users/aroraabhinav/Documents/workspace/paddlepaddle/Paddle/paddle/fluid/framework/op_registry.h:185:7: note: expanded from macro 'REGISTER_OP_KERNEL'
__op_kernel_registrar_##op_type##_##LIBRARY_TYPE##__(#op_type, \
^
<scratch space>:110:1: note: expanded from here
__op_kernel_registrar_lod_reset_CPU__
^
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: