mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
As we live in C++17 world This is a functional no-op, just - `s/namespace at { namespace native {/namespace at::native {/` - `s/namespace torch { namespace jit {/namespace torch::jit {/` Pull Request resolved: https://github.com/pytorch/pytorch/pull/92100 Approved by: https://github.com/izaitsevfb
22 lines
702 B
C++
22 lines
702 B
C++
#include <torch/csrc/jit/serialization/flatbuffer_serializer_jit.h>
|
|
|
|
#ifdef FLATBUFFERS_VERSION_MAJOR
|
|
#error "flatbuffer_serializer_jit.h must not include any flatbuffers headers"
|
|
#endif // FLATBUFFERS_VERSION_MAJOR
|
|
|
|
#include <torch/csrc/jit/mobile/file_format.h>
|
|
#include <torch/csrc/jit/mobile/flatbuffer_loader.h>
|
|
#include <torch/csrc/jit/operator_upgraders/upgraders_entry.h>
|
|
#include <torch/csrc/jit/serialization/export.h>
|
|
#include <torch/csrc/jit/serialization/export_bytecode.h>
|
|
#include <torch/csrc/jit/serialization/flatbuffer_serializer.h>
|
|
#include <torch/csrc/jit/serialization/import.h>
|
|
|
|
namespace torch::jit {
|
|
|
|
bool register_flatbuffer_all() {
|
|
return true;
|
|
}
|
|
|
|
} // namespace torch::jit
|