2022-04-11 16:34:49 +00:00
|
|
|
#include <torch/csrc/jit/serialization/flatbuffer_serializer_jit.h>
|
|
|
|
|
|
2022-08-04 17:55:09 +00:00
|
|
|
#ifdef FLATBUFFERS_VERSION_MAJOR
|
|
|
|
|
#error "flatbuffer_serializer_jit.h must not include any flatbuffers headers"
|
|
|
|
|
#endif // FLATBUFFERS_VERSION_MAJOR
|
|
|
|
|
|
2022-06-20 16:37:38 +00:00
|
|
|
#include <torch/csrc/jit/mobile/file_format.h>
|
2022-04-11 16:34:49 +00:00
|
|
|
#include <torch/csrc/jit/mobile/flatbuffer_loader.h>
|
2022-08-08 23:23:56 +00:00
|
|
|
#include <torch/csrc/jit/operator_upgraders/upgraders_entry.h>
|
2022-04-11 16:34:49 +00:00
|
|
|
#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>
|
|
|
|
|
|
2023-01-13 16:32:30 +00:00
|
|
|
namespace torch::jit {
|
2022-04-11 16:34:49 +00:00
|
|
|
|
2022-06-20 16:37:38 +00:00
|
|
|
bool register_flatbuffer_all() {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-13 16:32:30 +00:00
|
|
|
} // namespace torch::jit
|