Issues with nnfwtbn lwtnn export

The current implementation to export the model to lwtnn has two issues

  • The implementation assumes that lwtnn performs x * scale + offset, where as it actually uses (x + offset) * scale.
  • Variable replacement missing.
Edited by Frank Sauerburger