Changeset 9d35014


Ignore:
Timestamp:
Jan 1, 2019, 6:41:40 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn_org, feature/crepe_org
Children:
9ca7923
Parents:
60c9db0
Message:

[tensor] use new member names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.c

    r60c9db0 r9d35014  
    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.