← Back to C-Kernel-Engine Docs Doxygen Source Documentation
 
Loading...
Searching...
No Matches
ckernel_model_load_v4.h
Go to the documentation of this file.
1#ifndef CKERNEL_MODEL_LOAD_V4_H
2#define CKERNEL_MODEL_LOAD_V4_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/**
9 * @brief Load BUMPWGT4 weights into a v4 model buffer using a manifest map.
10 *
11 * The manifest format is line-based:
12 * name|dtype|file_offset|size|runtime_offset
13 * Offsets/sizes accept decimal or hex (0x...).
14 *
15 * @param base Base pointer for the generated model buffer.
16 * @param weights_path Path to BUMPWGT4 weights file.
17 * @param manifest_path Path to weights_manifest.map emitted by build_ir_v4.py.
18 * @return 0 on success, non-zero on error.
19 */
20int ck_load_weights_manifest_v4(void *base,
21 const char *weights_path,
22 const char *manifest_path);
23
24#ifdef __cplusplus
25}
26#endif
27
28#endif /* CKERNEL_MODEL_LOAD_V4_H */
int ck_load_weights_manifest_v4(void *base, const char *weights_path, const char *manifest_path)
Load BUMPWGT4 weights into a v4 model buffer using a manifest map.