Baremetal-NN
Baremetal-NN API documentation
|
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
.
shape | The shape of the tensor. |
data | The pointer to the tensor data. |