Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches

◆ nn_full1d_i32()

Tensor1D_I32 * nn_full1d_i32 ( size_t  shape[1],
int32_t  data 
)

Creates a 1D tensor with type I32 and initializes it to a given value.

nn_full1d_i32

Parameters
shapeThe shape of the tensor.
dataThe value to initialize the tensor to.
Returns
The created tensor.