Changeset 2396987
- Timestamp:
- Dec 29, 2021, 5:51:46 PM (3 years ago)
- Branches:
- feature/cnn, feature/crepe
- Children:
- da7dbd3
- Parents:
- 49e7171
- git-author:
- Paul Brossier <piem@piem.org> (01/02/19 23:02:26)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:51:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.h
r49e7171 r2396987 64 64 smpl_t aubio_tensor_max(aubio_tensor_t *t); 65 65 66 #define AUBIO_ASSERT_EQUAL_SHAPE(t1, t2) { \ 67 AUBIO_ASSERT(t1 && t2); \ 68 AUBIO_ASSERT(t1->ndim == t2->ndim); \ 69 uint_t nn; \ 70 for (nn = 0; nn < t1->ndim; nn++) \ 71 AUBIO_ASSERT(t1->shape[nn] == t2->shape[nn]); \ 72 } 66 uint_t aubio_tensor_have_same_size(aubio_tensor_t *t, aubio_tensor_t *s); 67 68 void aubio_tensor_print(aubio_tensor_t *t); 69 70 const char_t *aubio_tensor_get_shape_string(aubio_tensor_t *t); 73 71 74 72 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.