Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches
◆
NN_tensor()
Tensor
* NN_tensor
(
size_t
ndim
,
const size_t *
shape
,
DataType
dtype
,
void *
data
)
Create a new tensor
Parameters
ndim
number of dimensions
shape
shape of tensor
dtype
data type
data
pointer to data, if NULL, the data will be allocated
Returns
Tensor
nn
functional
tensor_creation.h
Generated by
1.9.5