Changeset 9ca7923 for src/ai/tensor.h


Ignore:
Timestamp:
Jan 1, 2019, 7:20:51 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn_org, feature/crepe_org
Children:
849210c
Parents:
9d35014
Message:

[tensor] rename n_items to size, remove items_per_row

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/tensor.h

    r9d35014 r9ca7923  
    2727
    2828typedef struct {
    29   uint_t ndim;
    30   uint_t shape[8];
    31   smpl_t **data;
    32   uint_t n_items;
    33   uint_t items_per_row;
     29  uint_t ndim;            //< number of dimensions
     30  uint_t shape[8];        //< dimensions array
     31  smpl_t **data;          //< buffer of values
     32  uint_t size;            //< total number of elements
    3433} aubio_tensor_t;
    3534
Note: See TracChangeset for help on using the changeset viewer.