Changeset 49ac607f
- Timestamp:
- Dec 29, 2021, 5:51:58 PM (3 years ago)
- Branches:
- feature/crepe
- Children:
- b2e2cd0
- Parents:
- 8db0930
- git-author:
- Paul Brossier <piem@piem.org> (01/16/19 22:01:01)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:51:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/conv2d.c
r8db0930 r49ac607f 81 81 { 82 82 AUBIO_ASSERT(c); 83 // destroy internals here 84 if (c->kernel) { 83 if (c->kernel) 85 84 del_aubio_tensor(c->kernel); 86 }87 85 if (c->bias) 88 86 del_fvec(c->bias); … … 148 146 padding_start[0] = 0; 149 147 padding_start[1] = 0; 148 150 149 break; 151 150 //case PAD_CAUSAL: … … 194 193 * c->kernel->shape[1] * c->kernel->shape[3]; 195 194 196 AUBIO_DBG("conv2d: %15s ¤ conv2d %s" 197 " : (%d, %d, %d)" 198 " (%d params, stride (%d, %d), pad_start [%d, %d])\n", 199 aubio_tensor_get_shape_string(input_tensor), 200 aubio_tensor_get_shape_string(c->kernel), 201 c->output_shape[0], c->output_shape[1], c->output_shape[2], 202 n_params, 195 const char_t *tensor_str = aubio_tensor_get_shape_string(input_tensor); 196 //AUBIO_DBG("conv2d: kernel_shape_str %s\n", kernel_shape_str); 197 AUBIO_DBG("conv2d: %15s -> (%d, %d, %d)", 198 tensor_str, 199 c->output_shape[0], c->output_shape[1], c->output_shape[2]); 200 tensor_str = aubio_tensor_get_shape_string(c->kernel); 201 AUBIO_DBG(" (n_params=%d, kernel_shape=(%d, %d)," 202 " weigths=%s, stride (%d, %d), pad_start [%d, %d]" 203 " pad_end [%d, %d])\n", 204 n_params, c->kernel_shape[0], c->kernel_shape[1], 205 tensor_str, 203 206 c->stride_shape[0], c->stride_shape[1], 204 207 -c->padding_start[0], -c->padding_start[1]);
Note: See TracChangeset
for help on using the changeset viewer.