pytorch/caffe2
Emmett Neyman db92558229 [codemod][lowrisk] Fix deprecated use of 0/NULL (#120740)
Summary:
`nullptr` is typesafe. `0` and `NULL` are not. In the future, only `nullptr` will be allowed.

This diff helps us embrace the future _now_ in service of enabling `-Wzero-as-null-pointer-constant`.

Test Plan: Sandcastle

Reviewed By: meyering

Differential Revision: D54163060

Pull Request resolved: https://github.com/pytorch/pytorch/pull/120740
Approved by: https://github.com/Skylion007
2024-02-28 20:13:13 +00:00
..
contrib Revert "Increased compile time max GPUs to 512. Switched to int16_t DeviceIndex. (#119639)" 2024-02-28 18:57:09 +00:00
core Revert "Increased compile time max GPUs to 512. Switched to int16_t DeviceIndex. (#119639)" 2024-02-28 18:57:09 +00:00
cuda_rtc
db
distributed [4/N] Add -Wdeprecated and related fixes (#110204) 2023-10-07 19:46:08 +00:00
experiments
ideep [ONEDNN][BC-breaking] update onednn from v2.7.3 to v3.1.1 (#97957) 2023-08-25 12:13:18 +00:00
image
mobile
mpi
observers
onnx [codemod][highrisk] Fix shadowed variable in caffe2/caffe2/onnx/onnx_exporter.cc (#117996) 2024-01-22 22:57:06 +00:00
operators [codemod] Fix shadows in PyTorch (#117562) 2024-01-17 20:33:50 +00:00
opt [codemod][lowrisk] Remove extra semi colon from caffe2/caffe2/opt/optimizer.cc (#115018) 2023-12-13 23:11:33 +00:00
perfkernels [caffe2] Add an avx512 implementation of adagrad_update (#113289) 2024-02-15 01:45:30 +00:00
predictor
proto
python caffe2: remove support for specifically running "flaky tests" (#112007) 2024-02-13 07:56:37 +00:00
quantization [BE]: Apply PYI autofixes to various types (#107521) 2023-08-20 02:42:21 +00:00
queue [caffe2] Replace CAFFE_ prefixes in static_tracepoint.h macros with TORCH_ (#106380) 2023-08-03 21:51:36 +00:00
serialize Expose recordSize in ChunkRecordIterator (#120239) 2024-02-21 04:33:03 +00:00
sgd
share
test
transforms [1/N] Enable Wunused-result and Wunused-variable in torch targets (#110722) 2023-10-08 23:43:45 +00:00
utils [codemod][lowrisk] Fix deprecated use of 0/NULL (#120740) 2024-02-28 20:13:13 +00:00
video
__init__.py
.clang-format
BUILD_MODE.bzl
CMakeLists.txt Reify view_func() closures as ViewFuncs (#118404) 2024-02-14 22:00:43 +00:00
README.md
release-notes.md
requirements.txt
unexported_symbols.lds
VERSION_NUMBER
version_script.lds

Caffe2

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