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

◆ nn_as_tensor3d_f32()

Tensor3D_F32 * nn_as_tensor3d_f32 ( size_t  shape[3],
float *  data 
)

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

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