Changeset 382375d
- Timestamp:
- Jan 29, 2019, 2:59:00 AM (6 years ago)
- Branches:
- feature/crepe_org
- Children:
- 217ca89
- Parents:
- 30cb440e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/maxpool1d.h
r30cb440e r382375d 22 22 #define AUBIO_MAXPOOL1D_H 23 23 24 /** \file 25 26 Max pooling layer (1D) 27 28 */ 29 24 30 #ifdef __cplusplus 25 31 extern "C" { 26 32 #endif 27 33 34 /** maxpool1d layer */ 28 35 typedef struct _aubio_maxpool1d_t aubio_maxpool1d_t; 29 36 37 /** create a new maxpool1d layer 38 39 \param pool_size size of the pooling windows 40 41 \return new ::aubio_maxpool2d_t layer 42 43 */ 30 44 aubio_maxpool1d_t *new_aubio_maxpool1d(uint_t pool_size[1]); 31 45 46 /** get output shape 47 48 \param t layer 49 \param input input tensor 50 \param shape output shape 51 52 \return 0 on success, non-zero otherwise 53 54 */ 32 55 uint_t aubio_maxpool1d_get_output_shape(aubio_maxpool1d_t *t, 33 56 aubio_tensor_t *input, uint_t *shape); 34 57 58 /** compute layer output 59 60 \param t layer 61 \param input_tensor input tensor 62 \param output_tensor output tensor 63 64 */ 35 65 void aubio_maxpool1d_do(aubio_maxpool1d_t *t, 36 66 aubio_tensor_t *input_tensor, 37 aubio_tensor_t * activations);67 aubio_tensor_t *output_tensor); 38 68 69 /** destroy layer 70 71 \param t layer to destroy 72 73 */ 39 74 void del_aubio_maxpool1d(aubio_maxpool1d_t *t); 40 75
Note: See TracChangeset
for help on using the changeset viewer.