Changeset 6ee6107 for src/ai


Ignore:
Timestamp:
Jan 8, 2019, 3:11:30 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn_org, feature/crepe_org
Children:
45a1e1d
Parents:
8691154
Message:

[batchnorm] improve debug string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/batchnorm.c

    r8691154 r6ee6107  
    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.