Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches
tensor_creation.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "tensor.h"
#include "fill.h"
Include dependency graph for tensor_creation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void NN_init_tensor (Tensor *tensor, const size_t ndim, const size_t *shape, DataType dtype, void *data)
 
TensorNN_tensor (size_t ndim, const size_t *shape, DataType dtype, void *data)
 
TensorNN_zeros (size_t ndim, const size_t *shape, DataType dtype)
 
TensorNN_ones (size_t ndim, const size_t *shape, DataType dtype)
 
TensorNN_rand (size_t ndim, const size_t *shape, DataType dtype)
 
TensorNN_arange (size_t ndim, const size_t *shape, DataType dtype, float start, float step)