MCPcopy Create free account
hub / github.com/apache/tvm-ffi / WriteToFile

Function WriteToFile

include/tvm/ffi/extra/module.h:110–112  ·  view source on GitHub ↗

! * \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 */

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected