Changeset 6ad67a5
- Timestamp:
- Dec 29, 2021, 5:51:45 PM (3 years ago)
- Branches:
- feature/cnn, feature/crepe
- Children:
- 83ec87f
- Parents:
- 97985d4
- git-author:
- Paul Brossier <piem@piem.org> (01/01/19 18:41:40)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:51:45)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/tensor.c
r97985d4 r6ad67a5 78 78 if (o == NULL) return AUBIO_FAIL; 79 79 if (c == NULL) return AUBIO_FAIL; 80 c->n _dims= 2;81 c-> dims[0] = o->height;82 c-> dims[1] = o->length;80 c->ndim = 2; 81 c->shape[0] = o->height; 82 c->shape[1] = o->length; 83 83 c->data = o->data; 84 84 return AUBIO_OK;
Note: See TracChangeset
for help on using the changeset viewer.