- Timestamp:
- Dec 29, 2021, 5:52:01 PM (3 years ago)
- Branches:
- feature/crepe
- Children:
- 8429515
- Parents:
- 53849b0
- git-author:
- Paul Brossier <piem@piem.org> (01/29/19 02:59:00)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:52:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/maxpool1d.h
r53849b0 r514a87c 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.