| ggml_clamp | R Documentation |
Creates a graph node for clamping values to a range: clamp(x, min, max)
ggml_clamp(ctx, a, min_val, max_val)
ctx |
GGML context |
a |
Input tensor |
min_val |
Minimum value |
max_val |
Maximum value |
Tensor with values clamped to [min_val, max_val]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.