Changeset 1b6a0035 for src


Ignore:
Timestamp:
Dec 29, 2021, 5:51:49 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe
Children:
0116e79
Parents:
6bd83c1
git-author:
Paul Brossier <piem@piem.org> (01/08/19 15:51:03)
git-committer:
Paul Brossier <piem@piem.org> (12/29/21 17:51:49)
Message:

[maxpool2d] improve debug string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/maxpool2d.c

    r6bd83c1 r1b6a0035  
    6161void aubio_maxpool2d_debug(aubio_maxpool2d_t *c, aubio_tensor_t *input_tensor)
    6262{
    63   AUBIO_DBG("maxpool2d: input (%d, %d, %d) ¤ maxpool2d (pool_size = (%d, %d)) ->"
    64       " (%d, %d, %d) (no params)\n",
    65       input_tensor->shape[0],
    66       input_tensor->shape[1],
     63  AUBIO_DBG("maxpool2d: %15s -> (%d, %d, %d)"
     64      " (pool_size=(%d, %d))\n",
     65      aubio_tensor_get_shape_string(input_tensor),
     66      input_tensor->shape[0] / c->pool_size[0],
     67      input_tensor->shape[1] / c->pool_size[1],
    6768      input_tensor->shape[2],
    6869      c->pool_size[0],
    69       c->pool_size[1],
    70       input_tensor->shape[0] / c->pool_size[0],
    71       input_tensor->shape[1] / c->pool_size[1],
    72       input_tensor->shape[2]);
     70      c->pool_size[1]);
    7371}
    7472
Note: See TracChangeset for help on using the changeset viewer.