1 #ifndef CKERNEL_IR_V2_H
2 #define CKERNEL_IR_V2_H
13 #define CK_IR_V2_MAX_DIMS 4
14 #define CK_IR_V2_MAX_INPUTS 8
15 #define CK_IR_V2_MAX_OUTPUTS 4
16 #define CK_IR_V2_MAX_BINDINGS 24
77 int base_context_window,
CKDataType
Supported data types in C-Kernel-Engine.
#define CK_IR_V2_MAX_DIMS
#define CK_IR_V2_MAX_BINDINGS
#define CK_IR_V2_MAX_OUTPUTS
int ck_ir_v2_serialize_json_with_plan(const CKIRV2Graph *graph, const struct CKMemPlan *plan, const char *mode, int tokens_override, int base_context_window, const char *path)
void ck_ir_v2_free(CKIRV2Graph *graph)
int ck_ir_v2_apply_meta(const char *path, CKIRV2Graph *graph)
int ck_ir_v2_serialize_json(const CKIRV2Graph *graph, const char *path)
int ck_ir_v2_build_decoder(const CKModelConfig *cfg, CKIRV2Graph *graph)
int ck_ir_v2_parse_json(const char *path, CKIRV2Graph *graph)
#define CK_IR_V2_MAX_INPUTS
@ CK_IR_V2_NODE_INFERENCE_ONLY
int ck_ir_v2_build_decoder_backward(const CKIRV2Graph *forward, CKIRV2Graph *backward)