ModelBufferData
Refers to the serialized model data stored in a memory buffer. The header file is located in include/ge/ge_ir_build.h in the CANN component directory.
1 2 3 4 5 | struct ModelBufferData { std::shared_ptr<uint8_t> data = nullptr; uint64_t length; }; |
data points to the generated model data, and length indicates the actual model size.
Parent topic: Data Structures and APIs