! * \brief Write the current module to file with given format (for further compilation). * * \param file_name The file to be saved to. * \param format The format of the file. * * \note This function is mainly used by modules that */
| 108 | * \note This function is mainly used by modules that |
| 109 | */ |
| 110 | virtual void WriteToFile(const String& file_name, const String& format) const { |
| 111 | TVM_FFI_THROW(RuntimeError) << "Module[" << kind() << "] does not support WriteToFile"; |
| 112 | } |
| 113 | /*! |
| 114 | * \brief Get the possible write formats of the module, when available. |
| 115 | * \return Possible write formats when available. |
nothing calls this directly
no outgoing calls
no test coverage detected