Fix the notorious graphdef 2GB limitation

The problem can be tracked back to 6 years ago and same issue is being reported over and over again but seems the TF team doesn’t really care. 2GB graphdef is limitation is like 640K ought to be enough for anybody
Please fix it