Changeset 849210c for src


Ignore:
Timestamp:
Jan 2, 2019, 2:10:48 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn_org, feature/crepe_org
Children:
124166d
Parents:
9ca7923
Message:

[tensor] also set size when viewing fmat/fvec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.c

    r9ca7923 r849210c  
    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.