PeteBlackerThe3rd / TFMin

Tensorflow model to C++ code generator. Produces lightweight C++ with minimal build dependencies, ideal for deployment to embedded systems.
GNU General Public License v3.0
8 stars 3 forks source link

License clarification on generated code #1

Open srplsnh opened 3 years ago

srplsnh commented 3 years ago

Hi Pete,

Just wanted to understand your position on the license that would apply on the code generated by TFMin. The GPLv3 FAQ here and here seems to suggest that code generated by the tool would also be covered under GPLv3. As I understand, gcc and bison, both licensed under GPLv3, avoid any ambiguity by explictly adding an exception clause freeing the generated outputs from coming under GPLv3. I was wondering if you would be open to including such an exception in the license to exclude outputs from TFMin to be covered by GPLv3?

PeteBlackerThe3rd commented 3 years ago

Hi There,

Thanks for your interest, it's a very good question. When we chose the GPLv3 license after significant discussion with the development team. We were under the impression that any IP of generated code would belong to the user. It was not our intention that any generated code would be tied to GPL.

I'll have a look at the gcc and bison licences you mention, and look into updating the TFMin licence.

srplsnh commented 3 years ago

Hi Pete,

Sound's good ! Thanks for your prompt response..

srplsnh commented 3 years ago

Hi Pete, Just wondering if you got a chance to look into this and had any update ? -surinder