Changeset be3164d for src/ai/batchnorm.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/batchnorm.c

    rcba2b12 rbe3164d  
    3232};
    3333
     34#if defined(DEBUG)
    3435static void aubio_batchnorm_debug(aubio_batchnorm_t *c,
    3536    aubio_tensor_t *input_tensor);
     37#endif
    3638
    3739aubio_batchnorm_t *new_aubio_batchnorm(void)
     
    5961}
    6062
     63#if defined(DEBUG)
    6164void aubio_batchnorm_debug(aubio_batchnorm_t *c, aubio_tensor_t *input_tensor)
    6265{
     
    6669      c->n_outputs, 4 * c->n_outputs);
    6770}
     71#endif
    6872
    6973uint_t aubio_batchnorm_get_output_shape(aubio_batchnorm_t *c,
     
    9397  }
    9498
     99#if defined(DEBUG)
    95100  aubio_batchnorm_debug(c, input);
     101#endif
    96102
    97103  return AUBIO_OK;
Note: See TracChangeset for help on using the changeset viewer.