- Timestamp:
- Jan 2, 2019, 10:51:35 PM (6 years ago)
- Branches:
- feature/cnn_org, feature/crepe_org
- Children:
- f5ea4fb
- Parents:
- 50d7afe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.h
r50d7afe r40520ea 26 26 #endif 27 27 28 typedef struct { 29 uint_t ndim; //< number of dimensions 30 uint_t shape[8]; //< dimensions array 31 smpl_t **data; //< buffer of values 32 uint_t size; //< total number of elements 28 /** \file 29 30 Tensor for real-valued data. 31 32 */ 33 34 #define AUBIO_TENSOR_MAXDIM 10 35 36 /** Tensor for real-valued data 37 38 This object holds a tensor of real-valued data, ::smpl_t, with up to 39 AUBIO_TENSOR_MAXDIM dimentsions. 40 41 */ 42 typedef struct 43 { 44 uint_t ndim; /**< number of dimensions */ 45 uint_t shape[AUBIO_TENSOR_MAXDIM]; /**< dimensions array */ 46 uint_t size; /**< total number of elements */ 47 smpl_t *buffer; /**< buffer of values */ 48 smpl_t **data; /**< pointer to rows, or NULL when subtensor */ 33 49 } aubio_tensor_t; 34 50
Note: See TracChangeset
for help on using the changeset viewer.