- Timestamp:
- Jan 2, 2019, 11:02:26 PM (6 years ago)
- Branches:
- feature/cnn_org, feature/crepe_org
- Children:
- f7838fc
- Parents:
- c4b6b59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.h
rc4b6b59 r1343aca 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.