|
tvm
|
Inline file format and binary I/O helpers. More...
#include <tvm/ffi/error.h>#include <tvm/ffi/string.h>#include <fstream>#include <string>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | tvm |
| An object that builds and maintains block scope and StmtSref mapping for Dependence analysis. | |
| namespace | tvm::support |
Functions | |
| ffi::String | tvm::support::GetFileFormat (const ffi::String &path, const ffi::String &format) |
| Get the explicit format, or the extension of the file path. | |
| ffi::Bytes | tvm::support::ReadBytesFromFile (const ffi::String &path) |
| Read a file as binary bytes. | |
| void | tvm::support::WriteBytesToFile (const ffi::String &path, const ffi::Bytes &data) |
| Write binary bytes to a file. | |
Inline file format and binary I/O helpers.