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

Function ggml_compute_forward_sgn

ggml.c:8658–8672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8656}
8657
8658static void ggml_compute_forward_sgn(
8659 const struct ggml_compute_params * params,
8660 const struct ggml_tensor * src0,
8661 struct ggml_tensor * dst) {
8662 switch (src0->type) {
8663 case GGML_TYPE_F32:
8664 {
8665 ggml_compute_forward_sgn_f32(params, src0, dst);
8666 } break;
8667 default:
8668 {
8669 GGML_ASSERT(false);
8670 } break;
8671 }
8672}
8673
8674// ggml_compute_forward_neg
8675

Callers 1

Calls 1

Tested by

no test coverage detected