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
..
contrib [Caffe2] ScriptModuleOp support pass_inputs_as_tensor_list (#56813) 2021-04-23 18:49:57 -07:00
core [StaticRuntime] Replace StorageImpl with TensorImpl in MemoryPlanner (#56447) 2021-04-20 23:04:01 -07:00
cuda_rtc
db
distributed
experiments
ideep
image
mobile
mpi
observers
onnx [caffe2] fix -Wrange-loop-construct in onnx_exporter.cc (#56759) 2021-04-24 13:13:51 -07:00
operators Remove an unused variable in SoftmaxWithLossOp (#56321) 2021-04-20 09:18:08 -07:00
opt [shape inference] Fix dim type for Cast 2021-04-21 03:21:56 -07:00
perfkernels [caffe2] Fix -Wundef 2021-03-31 22:24:30 -07:00
predictor
proto [typing] make mypy-protobuf output compatible with pyre for caffe2 type stubs (#55294) 2021-04-05 03:23:31 -07:00
python [Caffe2] ScriptModuleOp support pass_inputs_as_tensor_list (#56813) 2021-04-23 18:49:57 -07:00
quantization fix comparison of narrow type with wide type in loop condition (#53951) 2021-03-22 16:40:35 -07:00
queue fix comparison of narrow type with wide type in loop condition (#53951) 2021-03-22 16:40:35 -07:00
serialize [package] Correct usage of miniz API in PyTorchStreamReader (#55725) 2021-04-13 11:50:08 -07:00
sgd optimizer exploration - v1 and v2 + fix position_weighted optimizer + decoupled weight decay (#54042) 2021-03-27 23:03:29 -07:00
share
test
transforms fix comparison of narrow type with wide type in loop condition (#53951) 2021-03-22 16:40:35 -07:00
utils Revert caffe2 print stack traces flag (#56496) 2021-04-20 11:43:33 -07:00
video
.clang-format
__init__.py
c2_aten_srcs.bzl Move grad_mode.h/cpp to c10. (#56204) 2021-04-16 11:50:08 -07:00
CMakeLists.txt CPU Convolution benchmark harness for some popular models (#56455) 2021-04-22 22:14:36 -07:00
README.md
release-notes.md
requirements.txt
VERSION_NUMBER

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