Changeset 52b0e42


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

[conv1d] improve debug string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/conv1d.c

    reba2bc7a r52b0e42  
    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.