diff options
author | Mauricio Briceno <mauricio.briceno@arm.com> | 2021-06-09 09:49:05 +0200 |
---|---|---|
committer | Mauricio Briceno <mauricio.briceno@arm.com> | 2021-06-09 15:07:24 +0200 |
commit | 3e4168d741c167d2d52b1a3fc9a800c101bba09b (patch) | |
tree | 20a6f72b345d50e34b995effc72474d0df202f9c /ethosu/mlw_codec/mlw_encode.h | |
parent | d784af7e8995a10fb403157af48371699c35bbfe (diff) | |
download | ethos-u-vela-3e4168d741c167d2d52b1a3fc9a800c101bba09b.tar.gz |
mlw_codec: Fixed alignment warning
- Restructured pointer API to prevent alignment warnings
- Changed weight tensor data type to np.int16
Change-Id: I310c1ca733bf98724c84e8b2194becb4be3e7eea
Diffstat (limited to 'ethosu/mlw_codec/mlw_encode.h')
-rw-r--r-- | ethosu/mlw_codec/mlw_encode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethosu/mlw_codec/mlw_encode.h b/ethosu/mlw_codec/mlw_encode.h index 743603b5..68218f32 100644 --- a/ethosu/mlw_codec/mlw_encode.h +++ b/ethosu/mlw_codec/mlw_encode.h @@ -47,7 +47,7 @@ int mlw_reorder_encode( int kernel_width, int ifm_depth, int* brick_strides, - void* inbuf, + int16_t* inbuf, int ofm_block_depth, int is_depthwise, int is_partkernel, |