opened
jiapei100
username_0
```
[ 40%] Building CXX object CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o
/usr/bin/c++  -Dcaffe2_detectron_custom_ops_EXPORTS -I/usr/local/cuda/include -I....../Detectron/-I/usr/local/include -I/usr/local/include  -I/opt/intel/mkl/include -std=c++11 -O2 -fPIC -Wno-narrowing -O3 -DNDEBUG -fPIC   -std=c++11 -o CMakeFiles/caffe2_detectron_custom_ops.dir/detectron/ops/zero_even_op.cc.o -c ....../Detectron/detectron/ops/zero_even_op.cc
-- Generating temporary cmake readable file: ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp
/usr/local/bin/cmake -D input_file:FILEPATH=....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend -D output_file:FILEPATH=....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp -D verbose=ON -P /usr/local/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/make2cmake.cmake
-- Copy if different ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp to ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend
/usr/local/bin/cmake -E copy_if_different ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend
-- Removing ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp and ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend
/usr/local/bin/cmake -E remove ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.depend.tmp ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o.NVCC-depend
-- Generating ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o
/usr/local/cuda/bin/nvcc ....../Detectron/detectron/ops/zero_even_op.cu -c -o ....../Detectron/build/CMakeFiles/caffe2_detectron_custom_ops_gpu.dir/detectron/ops/./caffe2_detectron_custom_ops_gpu_generated_zero_even_op.cu.o -ccbin /usr/bin/cc -m64 -Dcaffe2_detectron_custom_ops_gpu_EXPORTS -Xcompiler ,\"-I/opt/intel/mkl/include\",\"-O2\",\"-fPIC\",\"-Wno-narrowing\",\"-fPIC\",\"-O3\",\"-DNDEBUG\" -DONNX_NAMESPACE=onnx_c2 -gencode arch=compute_52,code=sm_52 -Xcudafe --diag_suppress=cc_clobber_ignored -Xcudafe --diag_suppress=integer_sign_change -Xcudafe --diag_suppress=useless_using_declaration -Xcudafe --diag_suppress=set_but_not_used -std=c++11 -Xcompiler -fPIC --expt-relaxed-constexpr --expt-extended-lambda -DNVCC -I/usr/local/cuda/include -I-I/usr/local/include -I....../Detectron/-I/usr/local/include -I/usr/local/include
....../Detectron/detectron/ops/zero_even_op.cc: In member function ‘bool caffe2::ZeroEvenOp<T, Context>::RunOnDevice() [with T = float; Context = caffe2::CPUContext]’:
....../Detectron/detectron/ops/zero_even_op.cc:33:27: error: ‘class caffe2::Tensor’ has no member named ‘numel’
   for (auto i = 0; i < Y->numel(); i += 2) {
                           ^~~~~

```
error: ‘class caffe2::Tensor’ has no member named ‘numel’
issue