Changeset a5199ad


Ignore:
Timestamp:
Dec 29, 2021, 5:51:45 PM (2 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe
Children:
7c6c8625
Parents:
83ec87f
git-author:
Paul Brossier <piem@piem.org> (01/02/19 02:10:48)
git-committer:
Paul Brossier <piem@piem.org> (12/29/21 17:51:45)
Message:

[tensor] also set size when viewing fmat/fvec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.c

    r83ec87f ra5199ad  
    6262  c->shape[0] = o->length;
    6363  c->data = &o->data;
     64  c->size = o->length;
    6465  return AUBIO_OK;
    6566}
     
    8182  c->shape[0] = o->height;
    8283  c->shape[1] = o->length;
     84  c->size = o->height * o->length;
    8385  c->data = o->data;
    8486  return AUBIO_OK;
Note: See TracChangeset for help on using the changeset viewer.