MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / ggml_mul_mat_set_prec

Function ggml_mul_mat_set_prec

subprojects/llama.cpp/ggml/src/ggml.c:3193–3201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3191}
3192
3193void ggml_mul_mat_set_prec(
3194 struct ggml_tensor * a,
3195 enum ggml_prec prec) {
3196 GGML_ASSERT(a->op == GGML_OP_MUL_MAT);
3197
3198 const int32_t prec_i32 = (int32_t) prec;
3199
3200 ggml_set_op_params_i32(a, 0, prec_i32);
3201}
3202
3203// ggml_mul_mat_id
3204

Callers 3

build_ffnMethod · 0.85
build_attn_mhaMethod · 0.85
build_attnMethod · 0.85

Calls 1

ggml_set_op_params_i32Function · 0.85

Tested by

no test coverage detected