pytorch/caffe2/python
Edward Yang 91797c0672 Replace direct include of caffe2.pb.h with an intermediary header caffe2_pb.h (#10946)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/10946

```
codemod -d . --extensions cc,cpp,cu,cuh,h caffe2/proto/caffe2.pb.h caffe2/proto/caffe2_pb.h
```

Reviewed By: houseroad

Differential Revision: D9539945

fbshipit-source-id: 497d04720e8e7e61c05ffe1b23733d0cb774de7e
2018-08-28 11:57:08 -07:00
..
docs
examples Update from Facebook (#6692) 2018-04-17 23:36:40 -07:00
helpers [Caffe2] Add full impl of GroupNorm (#7058) 2018-04-29 11:26:40 -07:00
ideep Fold AffineChannel to Conv, the same way as BN (for Detectron models) (#10293) 2018-08-13 22:43:37 -07:00
layers Remove unused code base for distributed training (#10282) 2018-08-16 20:10:17 -07:00
mint
mkl Workaround lack of 0-dim support in ideep (#8959) 2018-06-27 20:24:28 -07:00
modeling Remove unused code base for distributed training (#10282) 2018-08-16 20:10:17 -07:00
models Refactor Seq2SeqModelCaffe2EnsembleDecoder (#10035) 2018-07-31 23:09:09 -07:00
onnx Support new Reshape semantics (#10848) 2018-08-24 11:46:41 -07:00
operator_test move HeatmapMaxKeypointOp unittest to oss 2018-08-27 12:56:46 -07:00
predictor Export uint8 tensors as byte string in mobile_exporter and add GivenTensorByteStringToUInt8FillOp (#10385) 2018-08-15 14:26:50 -07:00
rnn
test Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
trt ONNXIFI transform (#9569) 2018-07-20 15:09:59 -07:00
__init__.py
_import_c_extension.py Completely remove build_aten and use_aten (#10469) 2018-08-20 20:26:42 -07:00
allcompare_test.py
attention.py [Caffe2] Update elementwise ops to support numpy style boradcast (#8070) 2018-06-05 15:49:16 -07:00
benchmark_generator.py
binarysize.py
brew.py [Caffe2] Changes done inside Facebook (#6378) 2018-04-10 21:11:43 -07:00
brew_test.py Move tanh function to math (#9328) 2018-07-11 13:59:50 -07:00
build.py
cached_reader.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
caffe_translator.py
caffe_translator_test.py Remove caffe1 specific proto (#10380) 2018-08-10 11:10:26 -07:00
checkpoint.py Create class constant for string literal 'blob_names' 2018-08-24 22:11:43 -07:00
checkpoint_test.py Update from facebook (#6871) 2018-04-23 15:01:56 -07:00
CMakeLists.txt Add registry to pybind_state (#10759) 2018-08-24 17:25:02 -07:00
cnn.py [Caffe2] Changes done inside Facebook (#6378) 2018-04-10 21:11:43 -07:00
context.py Resolve name conflict of ContextManager (#7244) 2018-06-22 00:41:51 -04:00
context_test.py
control.py
control_ops_grad.py
control_ops_util.py
control_test.py
convnet_benchmarks.py
convnet_benchmarks_test.py
core.py parallize the dense part in event models 2018-08-22 22:40:07 -07:00
core_gradients_test.py [Caffe2] Update elementwise ops to support numpy style boradcast (#8070) 2018-06-05 15:49:16 -07:00
core_test.py reroute tensor feature in core.Net and generate one net feature in model_helper (#10528) 2018-08-15 16:40:15 -07:00
crf.py Productionize CRF layer in PyText (#10362) 2018-08-22 00:25:26 -07:00
data_parallel_model.py Modify barrier net to allow better control over its initialization and execution in DPM (#9665) 2018-07-22 00:23:47 -07:00
data_parallel_model_test.py Update from facebook (#7451) 2018-05-10 23:14:27 -07:00
data_workers.py Update from facebook (#7696) 2018-05-19 23:10:48 -07:00
data_workers_test.py
dataio.py Fixing stop condition on composite reader (#9888) 2018-08-20 03:02:20 -07:00
dataio_test.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
dataset.py Update from facebook (#7855) 2018-05-29 11:38:02 -07:00
db_file_reader.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
db_test.py
device_checker.py Update from facebook (#7451) 2018-05-10 23:14:27 -07:00
dlpack.h
dyndep.py
embedding_generation_benchmark.py
experiment_util.py
extension_loader.py Completely remove build_aten and use_aten (#10469) 2018-08-20 20:26:42 -07:00
functional.py Caffe2 Functional enforcing inplace output (#10797) 2018-08-23 22:42:47 -07:00
functional_test.py Add support for specifying device_option in Functional (#9619) 2018-07-24 14:41:59 -07:00
fused_8bit_rowwise_conversion_ops_test.py
gradient_check_test.py [Caffe2] Fix gradient_check on in-place ops (#8828) 2018-06-25 15:25:56 -07:00
gradient_checker.py [Caffe2] Fix gradient_check on in-place ops (#8828) 2018-06-25 15:25:56 -07:00
gru_cell.py
hsm_util.py
hypothesis_test.py Add MIOPEN recurrent operator (#10840) 2018-08-27 15:39:56 -07:00
hypothesis_test_util.py Temporarily disable test_unique on rocm since it keeps running into segfault (#9872) 2018-07-26 08:34:00 -07:00
ideep_test_util.py [feature request] [Caffe2] Enable MKLDNN support for inference (#6699) 2018-04-22 21:58:14 -07:00
layer_model_helper.py parallize the dense part in event models 2018-08-22 22:40:07 -07:00
layer_model_instantiator.py [caffe2] Fbcode to GitHub sync (#6208) 2018-04-02 16:35:27 -07:00
layer_parameter_sharing_test.py
layer_test_util.py
layers_test.py fbshipit-source-id: ba600fcd2b5cefc7621357bdeb05e24cea02e5af 2018-06-27 04:50:56 -07:00
lengths_reducer_fused_8bit_rowwise_ops_test.py
lengths_reducer_rowwise_8bit_ops_test.py
lstm_benchmark.py
memonger.py
memonger_test.py
mkl_test_util.py
model_device_test.py
model_helper.py Remove unused code base for distributed training (#10282) 2018-08-16 20:10:17 -07:00
model_helper_test.py reroute tensor feature in core.Net and generate one net feature in model_helper (#10528) 2018-08-15 16:40:15 -07:00
modifier_context.py
mpi_python.cc
muji.py [Caffe2] Support non peer access in muji and fix bug when reduced_affix is empty (#6896) 2018-06-05 03:14:43 +08:00
muji_test.py [Caffe2] Support non peer access in muji and fix bug when reduced_affix is empty (#6896) 2018-06-05 03:14:43 +08:00
net_builder.py Update from Facebook (#6692) 2018-04-17 23:36:40 -07:00
net_builder_test.py
net_drawer.py
net_printer.py [DT] [38/n] Rename add_stop_signal to add_stop_condition (#6825) 2018-04-23 10:39:37 -07:00
net_printer_test.py
normalizer.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
normalizer_context.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
normalizer_test.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
numa_benchmark.py Update from facebook (#6871) 2018-04-23 15:01:56 -07:00
numa_test.py
observer_test.py
optimizer.py Improve lars operator by applying clipping (#9905) 2018-08-02 11:54:28 -07:00
optimizer_context.py
optimizer_test.py Add Adadelta optimizer to caffe2 (#9088) 2018-07-24 20:09:21 -07:00
optimizer_test_util.py Implementation of Wngrad optimizer caffe2 python wrapper and unit test on least square regression (#9001) 2018-07-13 18:54:52 -07:00
parallel_workers.py Update from facebook (#7696) 2018-05-19 23:10:48 -07:00
parallel_workers_test.py
parallelize_bmuf_distributed_test.py
pipeline.py Fixing stop condition on composite reader (#9888) 2018-08-20 03:02:20 -07:00
pipeline_test.py
predictor_constants.py
pybind_state.cc Update mobile predictor caller's interface 2018-08-24 23:40:05 -07:00
pybind_state.h Replace direct include of caffe2.pb.h with an intermediary header caffe2_pb.h (#10946) 2018-08-28 11:57:08 -07:00
pybind_state_dlpack.cc codemod -d caffe2 --extensions cc,h CaffeTypeId TypeIdentifier (#10166) 2018-08-02 11:54:30 -07:00
pybind_state_dlpack.h Replace direct include of caffe2.pb.h with an intermediary header caffe2_pb.h (#10946) 2018-08-28 11:57:08 -07:00
pybind_state_gpu.cc Add registry to pybind_state (#10759) 2018-08-24 17:25:02 -07:00
pybind_state_hip.cc Remove template parameter from Tensor (#9939) 2018-07-27 10:56:39 -07:00
pybind_state_ideep.cc codemod -d caffe2 --extensions cc,h CaffeTypeId TypeIdentifier (#10166) 2018-08-02 11:54:30 -07:00
pybind_state_int8.cc Remove template parameter from Tensor (#9939) 2018-07-27 10:56:39 -07:00
pybind_state_mkl.cc fix typo in error message (#9827) 2018-08-21 18:41:29 -07:00
pybind_state_registry.cc Add registry to pybind_state (#10759) 2018-08-24 17:25:02 -07:00
pybind_state_registry.h Add registry to pybind_state (#10759) 2018-08-24 17:25:02 -07:00
python_op_test.py
queue_util.py
record_queue.py
recurrent.py
regularizer.py Add GroupL1Norm regularizer (#9115) 2018-07-06 13:26:09 -07:00
regularizer_context.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
regularizer_test.py Add GroupL1Norm regularizer (#9115) 2018-07-06 13:26:09 -07:00
rnn_cell.py Fix typo in comment (#7183) 2018-05-02 11:58:30 -07:00
schema.py Add util function from core type to dtype (#10716) 2018-08-21 10:55:19 -07:00
schema_test.py Add util function from core type to dtype (#10716) 2018-08-21 10:55:19 -07:00
scope.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
scope_test.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
session.py
session_test.py
sparse_to_dense_mask_test.py
sparse_to_dense_test.py
task.py
test_util.py
text_file_reader.py
timeout_guard.py
toy_regression_test.py
transformations.py Enable Conv fusion optimizations in optimizeForIdeep (#9255) 2018-07-16 21:28:50 -07:00
transformations_test.py Conv BN fusion for 3D conv (#10239) 2018-08-24 21:24:36 -07:00
tt_core.py
tt_core_test.py
utils.py Update from Facebook (#8887) 2018-06-26 14:55:48 -07:00
visualize.py
workspace.py Add interface to provide blob types to shape&type inference (#9643) 2018-07-24 11:58:05 -07:00
workspace_test.py Add workspace.RunPlanInBackground (#9637) 2018-07-20 14:56:12 -07:00