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

◆ nn_as_tensor2d_f32()

Tensor2D_F32 * nn_as_tensor2d_f32 ( size_t  shape[2],
float *  data 
)

Converts data into a tensor, with the shape defined by the 2-element array shape.

Parameters
shapeThe shape of the tensor.
dataThe pointer to the tensor data.