ggml_tensor_set_f32_scalar: Fill Tensor with Scalar

View source: R/operations.R

ggml_tensor_set_f32_scalarR Documentation

Fill Tensor with Scalar

Description

Sets all elements of a f32 tensor to a single value.

Usage

ggml_tensor_set_f32_scalar(tensor, value)

Arguments

tensor

Tensor pointer

value

Float value to fill with

Value

NULL (invisible)


ggmlR documentation built on July 14, 2026, 1:08 a.m.