Renamed the index_offsets array to stride. Performance improvements when creating the stride array.

This commit is contained in:
2023-09-07 11:54:55 +02:00
parent 685119e839
commit 526deb402e
2 changed files with 16 additions and 18 deletions

View File

@@ -16,7 +16,7 @@ typedef struct _tensor {
dtype *elements;
uint8_t rank;
uint32_t *size;
uint32_t *index_offsets;
uint32_t *stride;
uint32_t num_elem;
} *tensor;