Learn R Programming

ggmlR (version 0.6.1)

ggml_tensor_set_f32_scalar: Fill Tensor with Scalar

Description

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

Usage

ggml_tensor_set_f32_scalar(tensor, value)

Value

NULL (invisible)

Arguments

tensor

Tensor pointer

value

Float value to fill with