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

Support visualC as a compiler #46

Closed cpetig closed 4 years ago

cpetig commented 4 years ago

Especially empty dimensions and empty opdate create empty array declarations, this is not supported by visualC (version 12). In this case make the array at least 1 element long (use preprocessor macro to avoid this waste on other compilers)