Changeset 6ad67a5


Ignore:
Timestamp:
Dec 29, 2021, 5:51:45 PM (3 weeks ago)
Author:
Paul Brossier <piem@piem.org>
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)
Message:

[tensor] use new member names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.c

    r97985d4 r6ad67a5  
    7878  if (o == NULL) return AUBIO_FAIL;
    7979  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;
    8383  c->data = o->data;
    8484  return AUBIO_OK;
Note: See TracChangeset for help on using the changeset viewer.