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

◆ nn_tensor0d_f32()

Tensor0D_F32 * nn_tensor0d_f32 ( float  data)

Creates a 0D floating-point data tensor.

nn_tensor0d_f32

This method always allocates memory for the tensor. If data is specified, it copies the data from data to the tensor.

Parameters
dataIf specified, the data to copy from and store in the tensor.