Changeset dfae6e0 for src/ai/maxpool2d.c


Ignore:
Timestamp:
Jan 8, 2019, 3:51:03 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn_org, feature/crepe_org
Children:
8abfbb0
Parents:
4647d38
Message:

[maxpool2d] improve debug string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/maxpool2d.c

    r4647d38 rdfae6e0  
    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.