ggml_sub_inplace: Element-wise Subtraction In-place (Graph)
Description
Creates a graph node for in-place element-wise subtraction.
Result is stored in tensor a, saving memory allocation.
Usage
ggml_sub_inplace(ctx, a, b)
Value
View of tensor a with the subtraction result
Arguments
- ctx
GGML context
- a
First tensor (will be modified in-place)
- b
Second tensor (same shape as a)