#include <tvm/node/functor.h>
#include <tvm/node/object_path.h>
#include <tvm/node/reflection.h>
#include <tvm/runtime/data_type.h>
#include <iostream>
#include <string>
Go to the source code of this file.
|
| tvm |
| runtime implementation for LibTorch/TorchScript.
|
|
◆ TVM_OBJECT_ENABLE_SCRIPT_PRINTER
#define TVM_OBJECT_ENABLE_SCRIPT_PRINTER |
( |
| ) |
|
Value: std::string Script(
const Optional<PrinterConfig>& config =
NullOpt)
const { \
return TVMScriptPrinter::Script(GetRef<ObjectRef>(this), config.value_or(PrinterConfig())); \
}
constexpr runtime::NullOptType NullOpt
Definition: optional.h:169