ai-techsystems / deepC

vendor independent TinyML deep learning library, compiler and inference framework microcomputers and micro-controllers
https://cainvas.ai-tech.systems/
Apache License 2.0
558 stars 86 forks source link

Generated code does not scale to datatypes other than FLOAT #81

Open srohit0 opened 5 years ago

srohit0 commented 5 years ago

This is an enhancement request.

Note : Fix requires symbol graph dfs to propagate dtypes on all the nodes with implicit conversion rule to generate highest possible precision.

Examples :

  1. INT8 , INT16 = INT16
  2. INT32 , FLOAT = FLOAT

    Ref : https://en.cppreference.com/w/cpp/language/implicit_conversion