pytorch/caffe2
James Donald 1dcc034fba [caffe2] Avoid attempt to use undefined preprocessor directive
Summary:
This is somewhat more verbose, but it's more correct and addresses this warning on Visual Studio 2017:
```
xplat\caffe2\caffe2\core\common.h(76): warning C4067: unexpected tokens following preprocessor directive - expected a newline
```

Test Plan: Built locally with fix

Reviewed By: simpkins

Differential Revision: D28868632

fbshipit-source-id: f6a583e8275162adedb2a4bc5ed0f64847020871
2021-06-05 09:22:52 -07:00
..
contrib Revert D28326365: [pytorch][PR] Add torch.cuda.streams.ExternalStream 2021-06-04 11:19:36 -07:00
core [caffe2] Avoid attempt to use undefined preprocessor directive 2021-06-05 09:22:52 -07:00
cuda_rtc
db Make PyTorch code-base clang-tidy compliant (#56892) 2021-04-28 14:10:25 -07:00
distributed [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
experiments Remove __future__ imports for legacy Python2 supports (#45033) 2020-09-23 17:57:02 -07:00
ideep Revert D28326365: [pytorch][PR] Add torch.cuda.streams.ExternalStream 2021-06-04 11:19:36 -07:00
image Check kernel launches in caffe2/caffe2/image (#52173) 2021-02-12 10:11:41 -08:00
mobile [PyTorch Mobile] Add continuous build config for xplat/caffe2 2020-12-09 16:58:20 -08:00
mpi Renaming CAFFE2_API to TORCH_API (#49496) 2020-12-18 10:54:50 -08:00
observers [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
onnx [ONNX] Update ONNX to rel-1.9 (#55889) (#57080) 2021-06-02 08:27:17 -07:00
operators [itemwise-dropout][1/x][low-level module] Implement Itemwise Sparse Feature Dropout in Dper3 (#59322) 2021-06-04 19:59:17 -07:00
opt Add support for MatMul to BatchMatMulFP16Acc{16,32}Fake Op Mapping 2021-06-02 08:32:21 -07:00
perfkernels [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
predictor [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
proto [typing] make mypy-protobuf output compatible with pyre for caffe2 type stubs (#55294) 2021-04-05 03:23:31 -07:00
python [itemwise-dropout][1/x][low-level module] Implement Itemwise Sparse Feature Dropout in Dper3 (#59322) 2021-06-04 19:59:17 -07:00
quantization [fbgemm] fix bug handling bias in rowwise quantization of FC (#58022) 2021-05-11 08:38:39 -07:00
queue [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
serialize Add kMaxSupportedBytecodeVersion for Lite Interpreter (#59472) 2021-06-04 17:55:02 -07:00
sgd [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
share [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
test
transforms [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841) 2021-05-07 20:02:33 -07:00
utils [caffe2] add a basic implementation of run-time feature rollout checks (#59355) 2021-06-04 14:34:41 -07:00
video Forbid trailing whitespace (#53406) 2021-03-05 17:22:55 -08:00
.clang-format
__init__.py remediation of S205607 2020-07-17 17:19:47 -07:00
c2_aten_srcs.bzl Move grad_mode.h/cpp to c10. (#56204) 2021-04-16 11:50:08 -07:00
CMakeLists.txt Fix breakpad build and add to more images (#59236) 2021-06-01 22:47:14 -07:00
README.md Grammar patch 1 (.md) (#41599) 2020-07-20 10:19:08 -07:00
release-notes.md Forbid trailing whitespace (#53406) 2021-03-05 17:22:55 -08:00
requirements.txt Remove references to typing module from setup.py (#47677) 2020-11-12 10:04:38 -08:00
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