| 413 | } |
| 414 | |
| 415 | core::TensorValue graph_scale_bias(core::ModuleBuildContext & ctx, const core::TensorValue & input, float scale, float bias) { |
| 416 | const auto contiguous = core::ensure_backend_addressable_layout(ctx, input); |
| 417 | return core::wrap_tensor(ggml_scale_bias(ctx.ggml, contiguous.tensor, scale, bias), input.shape, GGML_TYPE_F32); |
| 418 | } |
| 419 | |
| 420 | core::TensorValue graph_reshape( |
| 421 | core::ModuleBuildContext & ctx, |
no test coverage detected