Changeset 4647d38 for src/ai/dense.c
- Timestamp:
- Jan 8, 2019, 3:50:31 PM (6 years ago)
- Branches:
- feature/cnn_org, feature/crepe_org
- Children:
- dfae6e0
- Parents:
- 52b0e42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/dense.c
r52b0e42 r4647d38 55 55 void aubio_dense_debug(aubio_dense_t *c, aubio_tensor_t *input_tensor) 56 56 { 57 char_t input_string[15]; 58 snprintf(input_string, 15, "(%d)", input_tensor->shape[0]); 59 AUBIO_DBG("dense: %15s ¤ (%d, %d) ->" 60 " (%d) (%d params)\n", 61 input_string, 62 c->n_units, 63 c->n_units, 64 input_tensor->shape[0] * c->n_units); 57 uint_t n_params = input_tensor->shape[0] * c->n_units + c->n_units; 58 AUBIO_DBG("dense: %15s -> (%d,) (%d params)" 59 " (n_units=%d, weights=(%d, %d), bias=(%d,))\n", 60 aubio_tensor_get_shape_string(input_tensor), c->n_units, n_params, 61 c->n_units, c->weights->height, c->weights->length, c->bias->length); 65 62 } 66 63
Note: See TracChangeset
for help on using the changeset viewer.