Changeset 1343aca


Ignore:
Timestamp:
Jan 2, 2019, 11:02:26 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn_org, feature/crepe_org
Children:
f7838fc
Parents:
c4b6b59
Message:

[tensor] remove old macro, add more public prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.h

    rc4b6b59 r1343aca  
    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.