Changeset bee3d52


Ignore:
Timestamp:
Dec 29, 2021, 5:51:48 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe
Children:
b6097ac
Parents:
4d452fb
git-author:
Paul Brossier <piem@piem.org> (01/08/19 15:11:30)
git-committer:
Paul Brossier <piem@piem.org> (12/29/21 17:51:48)
Message:

[batchnorm] improve debug string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/batchnorm.c

    r4d452fb rbee3d52  
    7070void aubio_batchnorm_debug(aubio_batchnorm_t *c, aubio_tensor_t *input_tensor)
    7171{
    72   const char_t *shape_str = aubio_tensor_get_shape_string(input_tensor);
    73   AUBIO_DBG("batchnorm: %15s ¤ (%d x4) -> %s (4 x %d params)\n",
    74       shape_str, c->n_outputs, shape_str, c->n_outputs);
     72  AUBIO_DBG("batchnorm: %15s -> %s (%d params) (4 * (%d,))\n",
     73      aubio_tensor_get_shape_string(input_tensor),
     74      aubio_tensor_get_shape_string(input_tensor), // same output shape
     75      c->n_outputs, 4 * c->n_outputs);
    7576}
    7677
Note: See TracChangeset for help on using the changeset viewer.