Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix missing null termination in tag list when loading a saved model #108
On one of our servers, we were seeing this behaviour:
Notice the extra space after 'serve'. This extra space was actually garbage data from Tensorflow converting the tag list from an array of chars, without null termination, to a string.
As a bonus, though my C++ is rusty, I believe this removes the need for the memory allocation/destruction with