Changeset 2396987


Ignore:
Timestamp:
Dec 29, 2021, 5:51:46 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
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)
Message:

[tensor] remove old macro, add more public prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.h

    r49e7171 r2396987  
    6464smpl_t aubio_tensor_max(aubio_tensor_t *t);
    6565
    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     }
     66uint_t aubio_tensor_have_same_size(aubio_tensor_t *t, aubio_tensor_t *s);
     67
     68void aubio_tensor_print(aubio_tensor_t *t);
     69
     70const char_t *aubio_tensor_get_shape_string(aubio_tensor_t *t);
    7371
    7472#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.