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

Function ggml_sgn

ggml.c:3775–3779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3773// ggml_sgn
3774
3775struct ggml_tensor * ggml_sgn(
3776 struct ggml_context * ctx,
3777 struct ggml_tensor * a) {
3778 return ggml_unary(ctx, a, GGML_UNARY_OP_SGN);
3779}
3780
3781struct ggml_tensor * ggml_sgn_inplace(
3782 struct ggml_context * ctx,

Callers 2

ggml_compute_backwardFunction · 0.70
mainFunction · 0.50

Calls 1

ggml_unaryFunction · 0.70

Tested by 1

mainFunction · 0.40