Changeset be3164d for src/ai/dense.c


Ignore:
Timestamp:
Dec 29, 2021, 5:52:03 PM (2 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/dense.c

    rcba2b12 rbe3164d  
    5353}
    5454
     55#if defined(DEBUG)
    5556void aubio_dense_debug(aubio_dense_t *c, aubio_tensor_t *input_tensor)
    5657{
     
    6162      c->n_units, c->weights->height, c->weights->length, c->bias->length);
    6263}
     64#endif
    6365
    6466uint_t aubio_dense_get_output_shape(aubio_dense_t *c,
     
    7779  if (!c->bias) return AUBIO_FAIL;
    7880
     81#if defined(DEBUG)
    7982  aubio_dense_debug(c, input);
     83#endif
    8084
    8185  return AUBIO_OK;
Note: See TracChangeset for help on using the changeset viewer.