mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
Summary: Delete `-Wno-unused-variable` from top level `CMakeLists.txt` Still suppress those warnings for tests and `torch_python` Delete number of unused variables from caffe2 code Use `(void)var;` to suppress unused variable in range loops Use `C10_UNUSED` for global constructors and use `constexpr` instead of `static` for global constants Do not delete `caffe2::OperatorBase::Output` calls as they have side effects Pull Request resolved: https://github.com/pytorch/pytorch/pull/66041 Reviewed By: ngimel Differential Revision: D31360142 Pulled By: malfet fbshipit-source-id: 6fdfb9f91efdc49ca984a2f2a17ee377d28210c8 |
||
|---|---|---|
| .. | ||
| batch_norm.cpp | ||
| bert.cpp | ||
| broadcast.cpp | ||
| CMakeLists.txt | ||
| gelu_backward.cpp | ||
| heuristic_cache.cpp | ||
| heuristic_lookup.cpp | ||
| instance_norm.cpp | ||
| layer_norm.cpp | ||
| lstm_cell.cpp | ||
| main.cpp | ||
| reduction.cpp | ||
| scale_bias_relu.cpp | ||
| softmax.cpp | ||
| utils.cpp | ||
| utils.h | ||