pytorch/caffe2/operators/quantized
Nikita Shulga f6c275f55d Remove -Wno-unused-variable from utils.cmake (take 2) (#75538)
Summary:
[Comment](https://github.com/pytorch/pytorch/pull/62445/files#r680132022) claims, it got added for consistency with  top level CMakeLists.txt, but `-Wno-unused-variable` is not mentioned there.

Modify violations in 50+ files that were added in the interim by either removing unused variables, or decorating the code with `C10_UNUSED` if local variable is likely used to extend object lifetime until the end of the block.

Caused preventable revert in https://github.com/pytorch/pytorch/pull/72633#issuecomment-1092300787

Pull Request resolved: https://github.com/pytorch/pytorch/pull/75538

Reviewed By: anjali411

Differential Revision: D35747333

Pulled By: malfet

fbshipit-source-id: 3fc5828e44a4c05ba0e89e92613e6ebbdb260626
(cherry picked from commit c179fba21cfa2a0093fad50ccad5a22dd7cff52c)
2022-04-20 17:41:59 +00:00
..
CMakeLists.txt
init_qnnpack.cc
int8_add_op.cc
int8_add_op.h
int8_average_pool_op.cc
int8_average_pool_op.h
int8_channel_shuffle_op.cc
int8_channel_shuffle_op.h [c2] Remove unused private fields (#69709) 2021-12-14 11:31:08 -08:00
int8_concat_op.cc
int8_concat_op.h use irange for loops 6 (#66742) 2021-12-07 16:07:50 -08:00
int8_conv_op_relu.cc
int8_conv_op.cc
int8_conv_op.h
int8_conv_transpose_op.cc
int8_conv_transpose_op.h
int8_dequantize_op.cc
int8_dequantize_op.h use irange for loops 6 (#66742) 2021-12-07 16:07:50 -08:00
int8_fc_op.cc fused int8 static (#73452) 2022-02-28 16:34:45 +00:00
int8_fc_op.h
int8_flatten_op.cc
int8_flatten_op.h
int8_given_tensor_fill_op.cc
int8_given_tensor_fill_op.h use irange for loops 6 (#66742) 2021-12-07 16:07:50 -08:00
int8_leaky_relu_op.cc
int8_leaky_relu_op.h [c2] Remove unused private fields (#69709) 2021-12-14 11:31:08 -08:00
int8_max_pool_op.cc
int8_max_pool_op.h
int8_quantize_op.cc
int8_quantize_op.h
int8_relu_op.cc
int8_relu_op.h [c2] Remove unused private fields (#69709) 2021-12-14 11:31:08 -08:00
int8_reshape_op.cc
int8_reshape_op.h
int8_resize_nearest_op.cc
int8_resize_nearest_op.h use irange for loops 6 (#66742) 2021-12-07 16:07:50 -08:00
int8_roi_align_op_test.cc use irange for loops 6 (#66742) 2021-12-07 16:07:50 -08:00
int8_roi_align_op.cc
int8_roi_align_op.h Remove -Wno-unused-variable from utils.cmake (take 2) (#75538) 2022-04-20 17:41:59 +00:00
int8_sigmoid_op.cc
int8_sigmoid_op.h [c2] Remove unused private fields (#69709) 2021-12-14 11:31:08 -08:00
int8_simd.h
int8_slice_op.cc
int8_slice_op.h
int8_softmax_op.cc
int8_softmax_op.h [c2] Remove unused private fields (#69709) 2021-12-14 11:31:08 -08:00
int8_test_utils.h use irange for loops 6 (#66742) 2021-12-07 16:07:50 -08:00
int8_test.cc Fix sign-compare in caffe2 cpp tests 2022-04-05 00:08:05 +00:00
int8_transpose_op.cc
int8_transpose_op.h
int8_utils.h