Changeset b5b0ddd


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

[conv1d] improve debug string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/conv1d.c

    rd91fa83 rb5b0ddd  
    185185  AUBIO_ASSERT(c);
    186186  uint_t n_params = (c->kernel->shape[0] * c->kernel->shape[2] + 1)
    187     * c->kernel->shape[1] * c->kernel->shape[3];
    188   AUBIO_DBG("conv1d: input (%d, %d) ¤ conv1d (%d, %d, %d)"
    189       " : (%d, %d)"
    190       " (%d params, stride (%d), pad_start [%d])\n",
    191     input_tensor->shape[0], input_tensor->shape[1],
    192     c->kernel->shape[0], c->kernel->shape[1], c->kernel->shape[2],
     187    * c->kernel->shape[1];
     188  AUBIO_DBG("conv1d:    %15s -> (%d, %d) (%d params)"
     189      " (weigths=(%d, %d, %d), stride=(%d,), pad_start=(%d,))\n",
     190    aubio_tensor_get_shape_string(input_tensor),
    193191    c->output_shape[0], c->output_shape[1],
    194192    n_params,
     193    c->kernel->shape[0], c->kernel->shape[1], c->kernel->shape[2],
    195194    c->stride_shape,
    196195    -c->padding_start);
Note: See TracChangeset for help on using the changeset viewer.