MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / ggml_get_op_params_i32

Function ggml_get_op_params_i32

ggml.c:2601–2604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2599}
2600
2601static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
2602 assert(i < GGML_MAX_OP_PARAMS / sizeof(int32_t));
2603 return ((const int32_t *)(tensor->op_params))[i];
2604}
2605
2606static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
2607 assert(i < GGML_MAX_OP_PARAMS / sizeof(int32_t));

Callers 4

ggml_get_unary_opFunction · 0.70
ggml_compute_forwardFunction · 0.70
ggml_compute_backwardFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected