Changeset 085696b
- Timestamp:
- Jan 29, 2019, 3:14:39 AM (6 years ago)
- Branches:
- feature/crepe_org
- Children:
- 5a89af0
- Parents:
- 45a28ea
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.c
r45a28ea r085696b 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.