Changeset 83ef8f0 for src/ai/tensor.c


Ignore:
Timestamp:
Dec 29, 2021, 5:51:47 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe
Children:
567727d
Parents:
8359052
git-author:
Paul Brossier <piem@piem.org> (01/07/19 22:14:13)
git-committer:
Paul Brossier <piem@piem.org> (12/29/21 17:51:47)
Message:

[tensor] always use buffer in tensor_as_fvec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.c

    r8359052 r83ef8f0  
    7575  if (!c || !o) return AUBIO_FAIL;
    7676  o->length = c->size;
    77   o->data = c->data[0];
     77  o->data = c->buffer;
    7878  return AUBIO_OK;
    7979}
Note: See TracChangeset for help on using the changeset viewer.