| 39 | // Delegate to TensorFlow Appendf function until absl has an equivalent. |
| 40 | template <typename... Args> |
| 41 | inline void AppendFHelper(string* destination, const char* fmt, |
| 42 | Args&&... args) { |
| 43 | tensorflow::strings::Appendf(destination, fmt, args...); |
| 44 | } |
| 45 | |
| 46 | // Specialization for no argument format string (avoid security bug). |
| 47 | inline void AppendFHelper(string* destination, const char* fmt) { |