o->flattened = new_aubio_tensor(1, dense_input);
if (!o->flattened) goto failure;
+#if defined(DEBUG)
// permute and flatten
aubio_tensor_t *permute_input = o->maxpool_output[5];
AUBIO_DBG("permute: (%d, %d) ->"
AUBIO_DBG("flatten: (%d, %d) -> (%d)\n",
permute_input->shape[1], permute_input->shape[0],
o->flattened->shape[0]);
+#endif
if (aubio_dense_get_output_shape(o->dense_layer, o->flattened, output_shape))
goto failure;
return AUBIO_OK;
#else
AUBIO_ASSERT(o);
+ AUBIO_UNUSED(o);
AUBIO_ERR("pitch_crepe: hdf5 support was not built in, failed loading"
" crepe model\n");
return AUBIO_FAIL;