Baremetal-NN
Baremetal-NN API documentation
|
Tensor4D_F32 * nn_as_tensor4d_f32 | ( | size_t | shape[4], |
float * | data | ||
) |
Converts data into a tensor, with the shape defined by the 4-element array shape
.
shape | The shape of the tensor. |
data | The pointer to the tensor data. |