#ifndef TENSOR_H #define TENSOR_H typedef struct _tensor { float *data; size_t len; size_t width; } Tensor; Tensor *tensor_new(size_t, size_t, int); Tensor *tensor_fromVertexBuffer(float *, size_t); Tensor *tensor_multip(Tensor *, Tensor *); void tensor_free(Tensor *); #endif