Changeset 533187f
- Timestamp:
- Dec 29, 2021, 5:51:46 PM (3 years ago)
- Branches:
- feature/cnn, feature/crepe
- Children:
- a5986ff
- Parents:
- 0d9ef90
- git-author:
- Paul Brossier <piem@piem.org> (01/02/19 22:54:55)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:51:46)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.c
r0d9ef90 r533187f 84 84 { 85 85 uint_t i; 86 smpl_t max = -1000000;86 smpl_t max = t->buffer[0]; 87 87 for (i = 0; i < t->size; i++) { 88 max = MAX(t-> data[0][i], max);88 max = MAX(t->buffer[i], max); 89 89 } 90 90 return max;
Note: See TracChangeset
for help on using the changeset viewer.