- Timestamp:
- Dec 29, 2021, 5:51:46 PM (3 years ago)
- Branches:
- feature/cnn, feature/crepe
- Children:
- 2859f89
- Parents:
- c61cf97
- git-author:
- Paul Brossier <piem@piem.org> (01/02/19 22:51:35)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:51:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.h
rc61cf97 rd3d72b7 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.