ggml_set_2d: Set 2D Tensor Region (Graph)
Description
Simplified 2D version of ggml_set.
Usage
ggml_set_2d(ctx, a, b, nb1, offset)
Value
Tensor representing the set operation
Arguments
- ctx
GGML context
- a
Destination tensor
- b
Source tensor
- nb1
Stride for dimension 1 (in bytes)
- offset
Byte offset in destination tensor