This if for backward-compatibility with internal tools.
| 46 | |
| 47 | // This if for backward-compatibility with internal tools. |
| 48 | inline void Export(const TocoFlags& toco_flags, const Model& model, |
| 49 | string* output_file_contents) { |
| 50 | auto status = Export(toco_flags, model, true, output_file_contents); |
| 51 | if (!status.ok()) { |
| 52 | LOG(QFATAL) << status.error_message(); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | } // namespace toco |
| 57 |