pytorch/caffe2/transforms
Hector Yuen 7bb36ada1f fix -Wsign-compare warnings for some files inside c2 (#18123)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18123

the motivation of this fix is to resolve things like:
for(auto i = 0; i < N; i++) where N is bigger than int32

These instances of comparison were found by enabling -Wsign-compare

There are way too many things to fix, so issuing this as a series of fixes

The plan is to fix all these issues and then enable this flag into Caffe2 to catch future instances

Reviewed By: ZolotukhinM

Differential Revision: D14497094

fbshipit-source-id: bca3927a2188bd33a508fa503ba221c220cdaefe
2019-03-19 10:39:20 -07:00
..
CMakeLists.txt
common_subexpression_elimination.cc
common_subexpression_elimination.h
common_subexpression_elimination_test.cc
conv_to_nnpack_transform.cc
conv_to_nnpack_transform.h caffe2::DeviceType -> at::DeviceType (#11254) 2018-09-05 16:28:09 -07:00
conv_to_nnpack_transform_test.cc caffe2::DeviceType -> at::DeviceType (#11254) 2018-09-05 16:28:09 -07:00
pattern_net_transform.cc
pattern_net_transform.h fix -Wsign-compare warnings for some files inside c2 (#18123) 2019-03-19 10:39:20 -07:00
pattern_net_transform_test.cc caffe2::DeviceType -> at::DeviceType (#11254) 2018-09-05 16:28:09 -07:00
single_op_transform.cc
single_op_transform.h