Files
pytorch/caffe2
Igor Sugak 51bca2ca4d [caffe2] fix -Wrange-loop-construct in onnx_exporter.cc (#56759)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56759

```
 caffe2/caffe2/onnx/onnx_exporter.cc:415:21: error: loop variable 'it' creates a copy from type 'const std::pair<const std::basic_string<char>, int>' [-Werror,-Wrange-loop-construct]
    for (const auto it : blob_versions) {
                    ^
caffe2/caffe2/onnx/onnx_exporter.cc:415:10: note: use reference type 'const std::pair<const std::basic_string<char>, int> &' to prevent copying
    for (const auto it : blob_versions) {
         ^~~~~~~~~~~~~~~
                    &
```

Reviewed By: yfeldblum

Differential Revision: D27960126

fbshipit-source-id: fd46f37cf1aca9441209de8eb06add204046db95
2021-04-24 13:13:51 -07:00
..
2021-03-05 17:22:55 -08:00
2021-03-31 22:24:30 -07:00
2018-10-04 02:09:56 -07:00
2021-03-05 17:22:55 -08:00
2020-07-17 17:19:47 -07:00
2020-07-20 10:19:08 -07:00
2018-10-04 02:09:56 -07:00

Caffe2

Jenkins Build Status

Caffe2 is a lightweight, modular, and scalable deep learning framework. Building on the original Caffe, Caffe2 is designed with expression, speed, and modularity in mind.

Questions and Feedback

Please use GitHub issues (https://github.com/pytorch/pytorch/issues) to ask questions, report bugs, and request new features.

Further Resources on Caffe2.ai