cpetig / tflite_micro_compiler

generate tflite micro code which bypasses the interpreter (directly calls into kernels)
Apache License 2.0
76 stars 26 forks source link

Central place to specify tensor alignment #47

Open cpetig opened 4 years ago

cpetig commented 4 years ago

On some platforms or with some optimizations tensors need to be 8 to 16 byte aligned. This should be configurable in a central place (#define). Maybe a different alignment for 0D, 1D and 2+D tensors is preferred?