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

◆ nn_full2d_i32()

Tensor2D_I32 * nn_full2d_i32 ( size_t  shape[2],
int32_t  data 
)

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

nn_full2d_i32

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