Changeset be3164d for src/ai/maxpool2d.c


Ignore:
Timestamp:
Dec 29, 2021, 5:52:03 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/crepe
Children:
07c70b4b
Parents:
cba2b12
git-author:
Paul Brossier <piem@piem.org> (12/27/21 01:38:56)
git-committer:
Paul Brossier <piem@piem.org> (12/29/21 17:52:03)
Message:

[ai] only compile _debug function in debug mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/maxpool2d.c

    rcba2b12 rbe3164d  
    3131};
    3232
     33#if defined(DEBUG)
    3334static void aubio_maxpool2d_debug(aubio_maxpool2d_t *c,
    3435    aubio_tensor_t *input_tensor);
     36#endif
    3537
    3638aubio_maxpool2d_t *new_aubio_maxpool2d(uint_t pool_size[2])
     
    5961}
    6062
     63#if defined(DEBUG)
    6164void aubio_maxpool2d_debug(aubio_maxpool2d_t *c, aubio_tensor_t *input_tensor)
    6265{
     
    7073      c->pool_size[1]);
    7174}
     75#endif
    7276
    7377uint_t aubio_maxpool2d_get_output_shape(aubio_maxpool2d_t *c,
     
    8185  shape[2] = input->shape[2];
    8286
     87#if defined(DEBUG)
    8388  aubio_maxpool2d_debug(c, input);
     89#endif
    8490
    8591  return AUBIO_OK;
Note: See TracChangeset for help on using the changeset viewer.