- Timestamp:
- Dec 29, 2021, 5:52:02 PM (3 years ago)
- Branches:
- feature/crepe
- Children:
- 556cadb
- Parents:
- 8e1e753
- git-author:
- Paul Brossier <piem@piem.org> (01/29/19 03:14:39)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:52:02)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.c
r8e1e753 rd6fdff6 141 141 { 142 142 uint_t n; 143 AUBIO_ASSERT(a && b); 144 if (a->ndim != b->ndim) { 143 if (!a || !b) 145 144 return 0; 146 } 145 if (a->ndim != b->ndim) 146 return 0; 147 147 148 for (n = 0; n < a->ndim; n++) { 148 149 if (a->shape[n] != b->shape[n]) {
Note: See TracChangeset
for help on using the changeset viewer.