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

Function ggml_unary

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

Source from the content-addressed store, hash-verified

5762}
5763
5764struct ggml_tensor * ggml_unary(
5765 struct ggml_context * ctx,
5766 struct ggml_tensor * a,
5767 enum ggml_unary_op op) {
5768 return ggml_unary_impl(ctx, a, op, false);
5769}
5770
5771struct ggml_tensor * ggml_unary_inplace(
5772 struct ggml_context * ctx,

Callers 15

build_graphMethod · 0.85
ggml_expm1Function · 0.85
ggml_softplusFunction · 0.85
ggml_absFunction · 0.85
ggml_sgnFunction · 0.85
ggml_negFunction · 0.85
ggml_stepFunction · 0.85
ggml_tanhFunction · 0.85
ggml_eluFunction · 0.85
ggml_reluFunction · 0.85
ggml_sigmoidFunction · 0.85
ggml_geluFunction · 0.85

Calls 1

ggml_unary_implFunction · 0.85

Tested by 1

build_graphMethod · 0.68