Searched refs:flatbuffer_content (Results 1 – 3 of 3) sorted by relevance
107 TORCH_API uint64_t get_bytecode_version_from_bytes(char* flatbuffer_content);110 char* flatbuffer_content);
851 uint64_t get_bytecode_version_from_bytes(char* flatbuffer_content) { in get_bytecode_version_from_bytes() argument853 mobile::serialization::ModuleBufferHasIdentifier(flatbuffer_content), in get_bytecode_version_from_bytes()856 mobile::serialization::GetMutableModule(flatbuffer_content); in get_bytecode_version_from_bytes()860 mobile::ModuleInfo get_module_info_from_flatbuffer(char* flatbuffer_content) { in get_module_info_from_flatbuffer() argument861 auto* ff_module = mobile::serialization::GetMutableModule(flatbuffer_content); in get_module_info_from_flatbuffer()
2428 m.def("_get_module_info_from_flatbuffer", [](std::string flatbuffer_content) { in initJitScriptBindings() argument2432 torch::jit::get_module_info_from_flatbuffer(&flatbuffer_content[0]); in initJitScriptBindings()