Changeset c5ca86e
- Timestamp:
- Dec 29, 2021, 5:52:04 PM (3 years ago)
- Branches:
- feature/crepe
- Children:
- 1bc92cd
- Parents:
- 2117311
- git-author:
- Paul Brossier <piem@piem.org> (12/29/21 17:24:22)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:52:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/ai/test-tensor.c
r2117311 rc5ca86e 181 181 PRINT_MSG(" getting subtensor 1\n"); 182 182 assert (aubio_tensor_get_subtensor(t, 1, &st) == 0); 183 assert (st.ndim = ndim - 1);183 assert (st.ndim == ndim - 1); 184 184 assert (st.shape[0] == d2); 185 185 assert (st.shape[1] == d3); … … 198 198 PRINT_MSG(" check subtensor 1 of subtensor 3\n"); 199 199 assert (aubio_tensor_get_subtensor(&st, 1, &sst) == 0); 200 assert (sst.ndim = ndim - 2);200 assert (sst.ndim == ndim - 2); 201 201 assert (sst.shape[0] == d3); 202 202 assert (sst.shape[1] == 0);
Note: See TracChangeset
for help on using the changeset viewer.